Class Role.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.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 Rolebuild()Role.Builderid(java.lang.String id)Unique identifierRole.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierRole.Builderlabel(java.lang.String label)The label of the role typeRole.Builderlabel(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label)The label of the role typeRole.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierRole.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierRole.BuilderroleType(RoleType roleType)The manager role type (e.g., admin, viewer)Role.BuilderroleType(org.openapitools.jackson.nullable.JsonNullable<? extends RoleType> roleType)The manager role type (e.g., admin, viewer)
-
-
-
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()
-
-