Class GroupUpdateRequestParameters.Builder
java.lang.Object
com.sinch.sdk.domains.sms.models.requests.GroupUpdateRequestParameters.Builder
- Enclosing class:
GroupUpdateRequestParameters
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setAdd
(Collection<String> add) setAddFromGroup
(String addFromGroup) setAutoUpdate
(GroupAutoUpdateRequestParameters autoUpdate) setRemove
(Collection<String> remove) setRemoveFromGroup
(String removeFromGroup)
-
Method Details
-
setName
- Parameters:
name
- The name of the group. Omitting name from the JSON body will leave the name unchanged. To remove an existing name set, name explicitly to the JSON value null.- Returns:
- current builder
-
setAdd
- Parameters:
add
- Add a list of phone numbers (MSISDNs) to this group. The phone numbers are a strings within an array and must be in E.164 format.- Returns:
- current builder
-
setRemove
- Parameters:
remove
- Remove a list of phone numbers (MSISDNs) to this group.The phone numbers are a strings within an array and must be in E.164 format.- Returns:
- current builder
-
setAddFromGroup
- Parameters:
addFromGroup
- Copy the members from the another group into this group. Constraints: Must be valid group ID- Returns:
- current builder
-
setRemoveFromGroup
- Parameters:
removeFromGroup
- Remove the members in a specified group from this group.Constraints: Must be valid group ID
- Returns:
- current builder
-
setAutoUpdate
public GroupUpdateRequestParameters.Builder setAutoUpdate(GroupAutoUpdateRequestParameters autoUpdate) - Parameters:
autoUpdate
- auto update settings- Returns:
- current builder
-
build
-