Interface CreatePushTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePushTemplateRequest.Builder,,CreatePushTemplateRequest> PinpointRequest.Builder,SdkBuilder<CreatePushTemplateRequest.Builder,,CreatePushTemplateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePushTemplateRequest
public static interface CreatePushTemplateRequest.Builder
extends PinpointRequest.Builder, SdkPojo, CopyableBuilder<CreatePushTemplateRequest.Builder,CreatePushTemplateRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pushNotificationTemplateRequest(Consumer<PushNotificationTemplateRequest.Builder> pushNotificationTemplateRequest) Sets the value of the PushNotificationTemplateRequest property for this object.pushNotificationTemplateRequest(PushNotificationTemplateRequest pushNotificationTemplateRequest) Sets the value of the PushNotificationTemplateRequest 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, sdkFields
-
Method Details
-
pushNotificationTemplateRequest
CreatePushTemplateRequest.Builder pushNotificationTemplateRequest(PushNotificationTemplateRequest pushNotificationTemplateRequest) Sets the value of the PushNotificationTemplateRequest property for this object.- Parameters:
pushNotificationTemplateRequest- The new value for the PushNotificationTemplateRequest property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pushNotificationTemplateRequest
default CreatePushTemplateRequest.Builder pushNotificationTemplateRequest(Consumer<PushNotificationTemplateRequest.Builder> pushNotificationTemplateRequest) Sets the value of the PushNotificationTemplateRequest property for this object. This is a convenience method that creates an instance of thePushNotificationTemplateRequest.Builderavoiding the need to create one manually viaPushNotificationTemplateRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topushNotificationTemplateRequest(PushNotificationTemplateRequest).- Parameters:
pushNotificationTemplateRequest- a consumer that will call methods onPushNotificationTemplateRequest.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
CreatePushTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreatePushTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-