Class BetaRbacGroup.Builder
-
- All Implemented Interfaces:
public final class BetaRbacGroup.BuilderA builder for BetaRbacGroup.
-
-
Method Summary
Modifier and Type Method Description final BetaRbacGroup.Builderid(String id)ID of the RBAC Group. final BetaRbacGroup.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final BetaRbacGroup.BuildercreatedAt(OffsetDateTime createdAt)RFC 3339 timestamp of when the RBAC Group was created. final BetaRbacGroup.BuildercreatedAt(JsonField<OffsetDateTime> createdAt)Sets Builder.createdAt to an arbitrary JSON value. final BetaRbacGroup.Buildername(String name)Name of the RBAC Group. final BetaRbacGroup.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final BetaRbacGroup.BuilderroleIds(List<String> roleIds)RBAC Role IDs attached to this RBAC Group. final BetaRbacGroup.BuilderroleIds(Optional<List<String>> roleIds)Alias for calling Builder.roleIds with roleIds.orElse(null).final BetaRbacGroup.BuilderroleIds(JsonField<List<String>> roleIds)Sets Builder.roleIds to an arbitrary JSON value. final BetaRbacGroup.BuildersourceType(BetaRbacGroup.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 BetaRbacGroup.BuildersourceType(JsonField<BetaRbacGroup.SourceType> sourceType)Sets Builder.sourceType to an arbitrary JSON value. final BetaRbacGroup.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaRbacGroup.BuilderupdatedAt(OffsetDateTime updatedAt)RFC 3339 timestamp of when the RBAC Group was last updated. final BetaRbacGroup.BuilderupdatedAt(JsonField<OffsetDateTime> updatedAt)Sets Builder.updatedAt to an arbitrary JSON value. final BetaRbacGroup.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaRbacGroup.BuilderaddRoleId(String roleId)Adds a single String to roleIds. final BetaRbacGroup.BuilderputAdditionalProperty(String key, JsonValue value)final BetaRbacGroup.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaRbacGroup.BuilderremoveAdditionalProperty(String key)final BetaRbacGroup.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaRbacGroupbuild()Returns an immutable instance of BetaRbacGroup. -
-
Method Detail
-
id
final BetaRbacGroup.Builder id(String id)
ID of the RBAC Group.
-
id
final BetaRbacGroup.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 BetaRbacGroup.Builder createdAt(OffsetDateTime createdAt)
RFC 3339 timestamp of when the RBAC Group was created.
-
createdAt
final BetaRbacGroup.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 BetaRbacGroup.Builder name(String name)
Name of the RBAC Group. Not uniqueness-enforced.
-
name
final BetaRbacGroup.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 BetaRbacGroup.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 BetaRbacGroup.Builder roleIds(Optional<List<String>> roleIds)
Alias for calling Builder.roleIds with
roleIds.orElse(null).
-
roleIds
final BetaRbacGroup.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 BetaRbacGroup.Builder sourceType(BetaRbacGroup.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 BetaRbacGroup.Builder sourceType(JsonField<BetaRbacGroup.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 BetaRbacGroup.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 BetaRbacGroup.Builder updatedAt(OffsetDateTime updatedAt)
RFC 3339 timestamp of when the RBAC Group was last updated.
-
updatedAt
final BetaRbacGroup.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 BetaRbacGroup.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addRoleId
final BetaRbacGroup.Builder addRoleId(String roleId)
-
putAdditionalProperty
final BetaRbacGroup.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaRbacGroup.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaRbacGroup.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaRbacGroup.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaRbacGroup build()
Returns an immutable instance of BetaRbacGroup.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .name() .roleIds() .sourceType() .updatedAt()
-
-
-
-