Interface SMSConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SMSConfiguration.Builder,SMSConfiguration>,SdkBuilder<SMSConfiguration.Builder,SMSConfiguration>,SdkPojo
- Enclosing class:
- SMSConfiguration
public static interface SMSConfiguration.Builder extends SdkPojo, CopyableBuilder<SMSConfiguration.Builder,SMSConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SMSConfiguration.BuilderadditionalMessage(String additionalMessage)The message that you want to send.SMSConfiguration.Builderrecipients(Collection<RecipientDetail> recipients)Specifies one or more recipients who receive the message.SMSConfiguration.Builderrecipients(Consumer<RecipientDetail.Builder>... recipients)Specifies one or more recipients who receive the message.SMSConfiguration.Builderrecipients(RecipientDetail... recipients)Specifies one or more recipients who receive the message.SMSConfiguration.BuildersenderId(String senderId)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, sdkFields
-
-
-
-
Method Detail
-
senderId
SMSConfiguration.Builder senderId(String 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
SMSConfiguration.Builder additionalMessage(String 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
SMSConfiguration.Builder recipients(Collection<RecipientDetail> 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
SMSConfiguration.Builder recipients(RecipientDetail... 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
SMSConfiguration.Builder recipients(Consumer<RecipientDetail.Builder>... recipients)
Specifies one or more recipients who receive the message.
This is a convenience method that creates an instance of theYou must add the users that receive SMS messages to your AWS SSO store.
RecipientDetail.Builderavoiding the need to create one manually viaRecipientDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#recipients(List.) - 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:
#recipients(java.util.Collection)
-
-