Class RbacGroup.Builder
-
- All Implemented Interfaces:
public final class RbacGroup.BuilderA builder for RbacGroup.
-
-
Method Summary
Modifier and Type Method Description final RbacGroup.Builderid(String id)ID of the RBAC Group. final RbacGroup.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final RbacGroup.BuildercreatedAt(OffsetDateTime createdAt)RFC 3339 timestamp of when the RBAC Group was created. final RbacGroup.BuildercreatedAt(JsonField<OffsetDateTime> createdAt)Sets Builder.createdAt to an arbitrary JSON value. final RbacGroup.Buildername(String name)Name of the RBAC Group. final RbacGroup.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final RbacGroup.BuilderroleIds(List<String> roleIds)RBAC Role IDs attached to this RBAC Group. final RbacGroup.BuilderroleIds(Optional<List<String>> roleIds)Alias for calling Builder.roleIds with roleIds.orElse(null).final RbacGroup.BuilderroleIds(JsonField<List<String>> roleIds)Sets Builder.roleIds to an arbitrary JSON value. final RbacGroup.BuildersourceType(RbacGroup.SourceType sourceType)How the RBAC Group was created: "direct"for groups created directly (for example, in the organization's admin settings),"scim"for groups provisioned by the identity provider.final RbacGroup.BuildersourceType(JsonField<RbacGroup.SourceType> sourceType)Sets Builder.sourceType to an arbitrary JSON value. final RbacGroup.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final RbacGroup.BuilderupdatedAt(OffsetDateTime updatedAt)RFC 3339 timestamp of when the RBAC Group was last updated. final RbacGroup.BuilderupdatedAt(JsonField<OffsetDateTime> updatedAt)Sets Builder.updatedAt to an arbitrary JSON value. final RbacGroup.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final RbacGroup.BuilderaddRoleId(String roleId)Adds a single String to roleIds. final RbacGroup.BuilderputAdditionalProperty(String key, JsonValue value)final RbacGroup.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final RbacGroup.BuilderremoveAdditionalProperty(String key)final RbacGroup.BuilderremoveAllAdditionalProperties(Set<String> keys)final RbacGroupbuild()Returns an immutable instance of RbacGroup. -
-
Method Detail
-
id
final RbacGroup.Builder id(String id)
ID of the RBAC Group.
-
id
final RbacGroup.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final RbacGroup.Builder createdAt(OffsetDateTime createdAt)
RFC 3339 timestamp of when the RBAC Group was created.
-
createdAt
final RbacGroup.Builder createdAt(JsonField<OffsetDateTime> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final RbacGroup.Builder name(String name)
Name of the RBAC Group. Not uniqueness-enforced.
-
name
final RbacGroup.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
roleIds
final RbacGroup.Builder roleIds(List<String> roleIds)
RBAC Role IDs attached to this RBAC Group. Role attachment is managed in the admin settings and is read-only on this API.
nullmeans role data was temporarily unavailable — retry to distinguish from an empty list.
-
roleIds
final RbacGroup.Builder roleIds(Optional<List<String>> roleIds)
Alias for calling Builder.roleIds with
roleIds.orElse(null).
-
roleIds
final RbacGroup.Builder roleIds(JsonField<List<String>> roleIds)
Sets Builder.roleIds to an arbitrary JSON value.
You should usually call Builder.roleIds with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
sourceType
final RbacGroup.Builder sourceType(RbacGroup.SourceType sourceType)
How the RBAC Group was created:
"direct"for groups created directly (for example, in the organization's admin settings),"scim"for groups provisioned by the identity provider.
-
sourceType
final RbacGroup.Builder sourceType(JsonField<RbacGroup.SourceType> sourceType)
Sets Builder.sourceType to an arbitrary JSON value.
You should usually call Builder.sourceType with a well-typed SourceType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final RbacGroup.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("rbac_group")This method is primarily for setting the field to an undocumented or not yet supported value.
-
updatedAt
final RbacGroup.Builder updatedAt(OffsetDateTime updatedAt)
RFC 3339 timestamp of when the RBAC Group was last updated.
-
updatedAt
final RbacGroup.Builder updatedAt(JsonField<OffsetDateTime> updatedAt)
Sets Builder.updatedAt to an arbitrary JSON value.
You should usually call Builder.updatedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RbacGroup.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addRoleId
final RbacGroup.Builder addRoleId(String roleId)
-
putAdditionalProperty
final RbacGroup.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RbacGroup.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RbacGroup.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RbacGroup.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-