Class GroupCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class GroupCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
name
final GroupCreateParams.Body.Builder name(String name)
Name of the group
-
name
final GroupCreateParams.Body.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.
-
description
final GroupCreateParams.Body.Builder description(String description)
Textual description of the group
-
description
final GroupCreateParams.Body.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final GroupCreateParams.Body.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 GroupCreateParams.Body.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 GroupCreateParams.Body.Builder memberGroups(Optional<List<String>> memberGroups)
Alias for calling Builder.memberGroups with
memberGroups.orElse(null).
-
memberGroups
final GroupCreateParams.Body.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 GroupCreateParams.Body.Builder addMemberGroup(String memberGroup)
Adds a single String to memberGroups.
-
memberUsers
final GroupCreateParams.Body.Builder memberUsers(List<String> memberUsers)
Ids of users which belong to this group
-
memberUsers
final GroupCreateParams.Body.Builder memberUsers(Optional<List<String>> memberUsers)
Alias for calling Builder.memberUsers with
memberUsers.orElse(null).
-
memberUsers
final GroupCreateParams.Body.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 GroupCreateParams.Body.Builder addMemberUser(String memberUser)
Adds a single String to memberUsers.
-
orgName
final GroupCreateParams.Body.Builder orgName(String orgName)
For nearly all users, this parameter should be unnecessary. But in the rare case that your API key belongs to multiple organizations, you may specify the name of the organization the group belongs in.
-
orgName
final GroupCreateParams.Body.Builder orgName(Optional<String> orgName)
Alias for calling Builder.orgName with
orgName.orElse(null).
-
orgName
final GroupCreateParams.Body.Builder orgName(JsonField<String> orgName)
Sets Builder.orgName to an arbitrary JSON value.
You should usually call Builder.orgName 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 GroupCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final GroupCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final GroupCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final GroupCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final GroupCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final GroupCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name()
-
-
-
-