Class GroupReplaceParams.Body.Builder
-
- All Implemented Interfaces:
public final class GroupReplaceParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
name
final GroupReplaceParams.Body.Builder name(String name)
Name of the group
-
name
final GroupReplaceParams.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 GroupReplaceParams.Body.Builder description(String description)
Textual description of the group
-
description
final GroupReplaceParams.Body.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final GroupReplaceParams.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 GroupReplaceParams.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 GroupReplaceParams.Body.Builder memberGroups(Optional<List<String>> memberGroups)
Alias for calling Builder.memberGroups with
memberGroups.orElse(null).
-
memberGroups
final GroupReplaceParams.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 GroupReplaceParams.Body.Builder addMemberGroup(String memberGroup)
Adds a single String to memberGroups.
-
memberUsers
final GroupReplaceParams.Body.Builder memberUsers(List<String> memberUsers)
Ids of users which belong to this group
-
memberUsers
final GroupReplaceParams.Body.Builder memberUsers(Optional<List<String>> memberUsers)
Alias for calling Builder.memberUsers with
memberUsers.orElse(null).
-
memberUsers
final GroupReplaceParams.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 GroupReplaceParams.Body.Builder addMemberUser(String memberUser)
Adds a single String to memberUsers.
-
orgName
final GroupReplaceParams.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 GroupReplaceParams.Body.Builder orgName(Optional<String> orgName)
Alias for calling Builder.orgName with
orgName.orElse(null).
-
orgName
final GroupReplaceParams.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 GroupReplaceParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final GroupReplaceParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final GroupReplaceParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final GroupReplaceParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final GroupReplaceParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final GroupReplaceParams.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()
-
-
-
-