Interface SMSMessageTemplateContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SMSMessageTemplateContent.Builder,,SMSMessageTemplateContent> SdkBuilder<SMSMessageTemplateContent.Builder,,SMSMessageTemplateContent> SdkPojo
- Enclosing class:
SMSMessageTemplateContent
@Mutable
@NotThreadSafe
public static interface SMSMessageTemplateContent.Builder
extends SdkPojo, CopyableBuilder<SMSMessageTemplateContent.Builder,SMSMessageTemplateContent>
-
Method Summary
Modifier and TypeMethodDescriptionThe body to use in SMS messages.The body to use in SMS messages.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
body
The body to use in SMS messages.
- Parameters:
body- The body to use in SMS messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
body
default SMSMessageTemplateContent.Builder body(Consumer<SMSMessageTemplateContentBody.Builder> body) The body to use in SMS messages.
This is a convenience method that creates an instance of theSMSMessageTemplateContentBody.Builderavoiding the need to create one manually viaSMSMessageTemplateContentBody.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobody(SMSMessageTemplateContentBody).- Parameters:
body- a consumer that will call methods onSMSMessageTemplateContentBody.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-