Class Role.Builder

  • Enclosing class:
    Role

    public static final class Role.Builder
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Role build()  
      Role.Builder id​(java.lang.String id)
      Unique identifier
      Role.Builder id​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
      Unique identifier
      Role.Builder label​(java.lang.String label)
      The label of the role type
      Role.Builder label​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label)
      The label of the role type
      Role.Builder remoteId​(java.lang.String remoteId)
      Provider's unique identifier
      Role.Builder remoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
      Provider's unique identifier
      Role.Builder roleType​(RoleType roleType)
      The manager role type (e.g., admin, viewer)
      Role.Builder roleType​(org.openapitools.jackson.nullable.JsonNullable<? extends RoleType> roleType)
      The manager role type (e.g., admin, viewer)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • id

        public Role.Builder id​(java.lang.String id)
        Unique identifier
      • id

        public Role.Builder id​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
        Unique identifier
      • remoteId

        public Role.Builder remoteId​(java.lang.String remoteId)
        Provider's unique identifier
      • remoteId

        public Role.Builder remoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
        Provider's unique identifier
      • label

        public Role.Builder label​(java.lang.String label)
        The label of the role type
      • label

        public Role.Builder label​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label)
        The label of the role type
      • roleType

        public Role.Builder roleType​(RoleType roleType)
        The manager role type (e.g., admin, viewer)
      • roleType

        public Role.Builder roleType​(org.openapitools.jackson.nullable.JsonNullable<? extends RoleType> roleType)
        The manager role type (e.g., admin, viewer)
      • build

        public Role build()