Interface SendMessagesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SendMessagesRequest.Builder,,SendMessagesRequest> PinpointRequest.Builder,SdkBuilder<SendMessagesRequest.Builder,,SendMessagesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- SendMessagesRequest
@Mutable
@NotThreadSafe
public static interface SendMessagesRequest.Builder
extends PinpointRequest.Builder, SdkPojo, CopyableBuilder<SendMessagesRequest.Builder,SendMessagesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The unique identifier for the application.default SendMessagesRequest.BuildermessageRequest(Consumer<MessageRequest.Builder> messageRequest) Sets the value of the MessageRequest property for this object.messageRequest(MessageRequest messageRequest) Sets the value of the MessageRequest property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) 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
-
applicationId
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
- Parameters:
applicationId- The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageRequest
Sets the value of the MessageRequest property for this object.- Parameters:
messageRequest- The new value for the MessageRequest property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageRequest
Sets the value of the MessageRequest property for this object. This is a convenience method that creates an instance of theMessageRequest.Builderavoiding the need to create one manually viaMessageRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomessageRequest(MessageRequest).- Parameters:
messageRequest- a consumer that will call methods onMessageRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SendMessagesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SendMessagesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-