Interface CreateSmsTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSmsTemplateRequest.Builder,,CreateSmsTemplateRequest> PinpointRequest.Builder,SdkBuilder<CreateSmsTemplateRequest.Builder,,CreateSmsTemplateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateSmsTemplateRequest
@Mutable
@NotThreadSafe
public static interface CreateSmsTemplateRequest.Builder
extends PinpointRequest.Builder, SdkPojo, CopyableBuilder<CreateSmsTemplateRequest.Builder,CreateSmsTemplateRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) default CreateSmsTemplateRequest.BuildersmsTemplateRequest(Consumer<SMSTemplateRequest.Builder> smsTemplateRequest) Sets the value of the SMSTemplateRequest property for this object.smsTemplateRequest(SMSTemplateRequest smsTemplateRequest) Sets the value of the SMSTemplateRequest property for this object.templateName(String templateName) The name of the message template.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
smsTemplateRequest
Sets the value of the SMSTemplateRequest property for this object.- Parameters:
smsTemplateRequest- The new value for the SMSTemplateRequest property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smsTemplateRequest
default CreateSmsTemplateRequest.Builder smsTemplateRequest(Consumer<SMSTemplateRequest.Builder> smsTemplateRequest) Sets the value of the SMSTemplateRequest property for this object. This is a convenience method that creates an instance of theSMSTemplateRequest.Builderavoiding the need to create one manually viaSMSTemplateRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosmsTemplateRequest(SMSTemplateRequest).- Parameters:
smsTemplateRequest- a consumer that will call methods onSMSTemplateRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
templateName
The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
- Parameters:
templateName- The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSmsTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSmsTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-