Class Group.Builder
-
- All Implemented Interfaces:
public final class Group.BuilderA builder for Group.
-
-
Method Summary
Modifier and Type Method Description final Group.Builderid(String id)Unique identifier for the group final Group.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final Group.Buildername(String name)Name of the group final Group.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final Group.BuilderorgId(String orgId)Unique id for the organization that the group belongs underIt is forbidden to change the org after creating a group final Group.BuilderorgId(JsonField<String> orgId)Sets Builder.orgId to an arbitrary JSON value. final Group.Buildercreated(OffsetDateTime created)Date of group creation final Group.Buildercreated(Optional<OffsetDateTime> created)Alias for calling Builder.created with created.orElse(null).final Group.Buildercreated(JsonField<OffsetDateTime> created)Sets Builder.created to an arbitrary JSON value. final Group.BuilderdeletedAt(OffsetDateTime deletedAt)Date of group deletion, or null if the group is still active final Group.BuilderdeletedAt(Optional<OffsetDateTime> deletedAt)Alias for calling Builder.deletedAt with deletedAt.orElse(null).final Group.BuilderdeletedAt(JsonField<OffsetDateTime> deletedAt)Sets Builder.deletedAt to an arbitrary JSON value. final Group.Builderdescription(String description)Textual description of the group final Group.Builderdescription(Optional<String> description)Alias for calling Builder.description with description.orElse(null).final Group.Builderdescription(JsonField<String> description)Sets Builder.description to an arbitrary JSON value. final Group.BuildermemberGroups(List<String> memberGroups)Ids of the groups this group inherits fromAn inheriting group has all the users contained in its member groups, as well as all of their inherited users final Group.BuildermemberGroups(Optional<List<String>> memberGroups)Alias for calling Builder.memberGroups with memberGroups.orElse(null).final Group.BuildermemberGroups(JsonField<List<String>> memberGroups)Sets Builder.memberGroups to an arbitrary JSON value. final Group.BuilderaddMemberGroup(String memberGroup)Adds a single String to memberGroups. final Group.BuildermemberUsers(List<String> memberUsers)Ids of users which belong to this group final Group.BuildermemberUsers(Optional<List<String>> memberUsers)Alias for calling Builder.memberUsers with memberUsers.orElse(null).final Group.BuildermemberUsers(JsonField<List<String>> memberUsers)Sets Builder.memberUsers to an arbitrary JSON value. final Group.BuilderaddMemberUser(String memberUser)Adds a single String to memberUsers. final Group.BuilderuserId(String userId)Identifies the user who created the group final Group.BuilderuserId(Optional<String> userId)Alias for calling Builder.userId with userId.orElse(null).final Group.BuilderuserId(JsonField<String> userId)Sets Builder.userId to an arbitrary JSON value. final Group.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Group.BuilderputAdditionalProperty(String key, JsonValue value)final Group.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Group.BuilderremoveAdditionalProperty(String key)final Group.BuilderremoveAllAdditionalProperties(Set<String> keys)final Groupbuild()Returns an immutable instance of Group. -
-
Method Detail
-
id
final Group.Builder id(String id)
Unique identifier for the group
-
id
final Group.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.
-
name
final Group.Builder name(String name)
Name of the group
-
name
final Group.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.
-
orgId
final Group.Builder orgId(String orgId)
Unique id for the organization that the group belongs under
It is forbidden to change the org after creating a group
-
orgId
final Group.Builder orgId(JsonField<String> orgId)
Sets Builder.orgId to an arbitrary JSON value.
You should usually call Builder.orgId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
created
final Group.Builder created(OffsetDateTime created)
Date of group creation
-
created
final Group.Builder created(Optional<OffsetDateTime> created)
Alias for calling Builder.created with
created.orElse(null).
-
created
final Group.Builder created(JsonField<OffsetDateTime> created)
Sets Builder.created to an arbitrary JSON value.
You should usually call Builder.created with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
deletedAt
final Group.Builder deletedAt(OffsetDateTime deletedAt)
Date of group deletion, or null if the group is still active
-
deletedAt
final Group.Builder deletedAt(Optional<OffsetDateTime> deletedAt)
Alias for calling Builder.deletedAt with
deletedAt.orElse(null).
-
deletedAt
final Group.Builder deletedAt(JsonField<OffsetDateTime> deletedAt)
Sets Builder.deletedAt to an arbitrary JSON value.
You should usually call Builder.deletedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final Group.Builder description(String description)
Textual description of the group
-
description
final Group.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final Group.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
memberGroups
final Group.Builder memberGroups(List<String> memberGroups)
Ids of the groups this group inherits from
An inheriting group has all the users contained in its member groups, as well as all of their inherited users
-
memberGroups
final Group.Builder memberGroups(Optional<List<String>> memberGroups)
Alias for calling Builder.memberGroups with
memberGroups.orElse(null).
-
memberGroups
final Group.Builder memberGroups(JsonField<List<String>> memberGroups)
Sets Builder.memberGroups to an arbitrary JSON value.
You should usually call Builder.memberGroups with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addMemberGroup
final Group.Builder addMemberGroup(String memberGroup)
Adds a single String to memberGroups.
-
memberUsers
final Group.Builder memberUsers(List<String> memberUsers)
Ids of users which belong to this group
-
memberUsers
final Group.Builder memberUsers(Optional<List<String>> memberUsers)
Alias for calling Builder.memberUsers with
memberUsers.orElse(null).
-
memberUsers
final Group.Builder memberUsers(JsonField<List<String>> memberUsers)
Sets Builder.memberUsers to an arbitrary JSON value.
You should usually call Builder.memberUsers with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addMemberUser
final Group.Builder addMemberUser(String memberUser)
Adds a single String to memberUsers.
-
userId
final Group.Builder userId(String userId)
Identifies the user who created the group
-
userId
final Group.Builder userId(Optional<String> userId)
Alias for calling Builder.userId with
userId.orElse(null).
-
userId
final Group.Builder userId(JsonField<String> userId)
Sets Builder.userId to an arbitrary JSON value.
You should usually call Builder.userId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Group.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Group.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Group.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Group.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Group.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-