Class GroupUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class GroupUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
addMemberGroups
final GroupUpdateParams.Body.Builder addMemberGroups(List<String> addMemberGroups)
A list of group IDs to add to the group's inheriting-from set
-
addMemberGroups
final GroupUpdateParams.Body.Builder addMemberGroups(Optional<List<String>> addMemberGroups)
Alias for calling Builder.addMemberGroups with
addMemberGroups.orElse(null).
-
addMemberGroups
final GroupUpdateParams.Body.Builder addMemberGroups(JsonField<List<String>> addMemberGroups)
Sets Builder.addMemberGroups to an arbitrary JSON value.
You should usually call Builder.addMemberGroups with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAddMemberGroup
final GroupUpdateParams.Body.Builder addAddMemberGroup(String addMemberGroup)
Adds a single String to addMemberGroups.
-
addMemberUsers
final GroupUpdateParams.Body.Builder addMemberUsers(List<String> addMemberUsers)
A list of user IDs to add to the group
-
addMemberUsers
final GroupUpdateParams.Body.Builder addMemberUsers(Optional<List<String>> addMemberUsers)
Alias for calling Builder.addMemberUsers with
addMemberUsers.orElse(null).
-
addMemberUsers
final GroupUpdateParams.Body.Builder addMemberUsers(JsonField<List<String>> addMemberUsers)
Sets Builder.addMemberUsers to an arbitrary JSON value.
You should usually call Builder.addMemberUsers with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAddMemberUser
final GroupUpdateParams.Body.Builder addAddMemberUser(String addMemberUser)
Adds a single String to addMemberUsers.
-
description
final GroupUpdateParams.Body.Builder description(String description)
Textual description of the group
-
description
final GroupUpdateParams.Body.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final GroupUpdateParams.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.
-
name
final GroupUpdateParams.Body.Builder name(String name)
Name of the group
-
name
final GroupUpdateParams.Body.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final GroupUpdateParams.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.
-
removeMemberGroups
final GroupUpdateParams.Body.Builder removeMemberGroups(List<String> removeMemberGroups)
A list of group IDs to remove from the group's inheriting-from set
-
removeMemberGroups
final GroupUpdateParams.Body.Builder removeMemberGroups(Optional<List<String>> removeMemberGroups)
Alias for calling Builder.removeMemberGroups with
removeMemberGroups.orElse(null).
-
removeMemberGroups
final GroupUpdateParams.Body.Builder removeMemberGroups(JsonField<List<String>> removeMemberGroups)
Sets Builder.removeMemberGroups to an arbitrary JSON value.
You should usually call Builder.removeMemberGroups with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addRemoveMemberGroup
final GroupUpdateParams.Body.Builder addRemoveMemberGroup(String removeMemberGroup)
Adds a single String to removeMemberGroups.
-
removeMemberUsers
final GroupUpdateParams.Body.Builder removeMemberUsers(List<String> removeMemberUsers)
A list of user IDs to remove from the group
-
removeMemberUsers
final GroupUpdateParams.Body.Builder removeMemberUsers(Optional<List<String>> removeMemberUsers)
Alias for calling Builder.removeMemberUsers with
removeMemberUsers.orElse(null).
-
removeMemberUsers
final GroupUpdateParams.Body.Builder removeMemberUsers(JsonField<List<String>> removeMemberUsers)
Sets Builder.removeMemberUsers to an arbitrary JSON value.
You should usually call Builder.removeMemberUsers with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addRemoveMemberUser
final GroupUpdateParams.Body.Builder addRemoveMemberUser(String removeMemberUser)
Adds a single String to removeMemberUsers.
-
additionalProperties
final GroupUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final GroupUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final GroupUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final GroupUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final GroupUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final GroupUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-