Interface SMSConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SMSConfiguration.Builder,
,SMSConfiguration> SdkBuilder<SMSConfiguration.Builder,
,SMSConfiguration> SdkPojo
- Enclosing class:
SMSConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionadditionalMessage
(String additionalMessage) The message that you want to send.recipients
(Collection<RecipientDetail> recipients) Specifies one or more recipients who receive the message.recipients
(Consumer<RecipientDetail.Builder>... recipients) Specifies one or more recipients who receive the message.recipients
(RecipientDetail... recipients) Specifies one or more recipients who receive the message.The sender ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
senderId
The sender ID.
- Parameters:
senderId
- The sender ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalMessage
The message that you want to send. The message can be up to 200 characters.
- Parameters:
additionalMessage
- The message that you want to send. The message can be up to 200 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipients
Specifies one or more recipients who receive the message.
You must add the users that receive SMS messages to your AWS SSO store.
- Parameters:
recipients
- Specifies one or more recipients who receive the message.You must add the users that receive SMS messages to your AWS SSO store.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipients
Specifies one or more recipients who receive the message.
You must add the users that receive SMS messages to your AWS SSO store.
- Parameters:
recipients
- Specifies one or more recipients who receive the message.You must add the users that receive SMS messages to your AWS SSO store.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipients
Specifies one or more recipients who receive the message.
You must add the users that receive SMS messages to your AWS SSO store.
RecipientDetail.Builder
avoiding the need to create one manually viaRecipientDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecipients(List<RecipientDetail>)
.- Parameters:
recipients
- a consumer that will call methods onRecipientDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-