Interface UpdateSmsChannelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateSmsChannelRequest.Builder,
,UpdateSmsChannelRequest> PinpointRequest.Builder
,SdkBuilder<UpdateSmsChannelRequest.Builder,
,UpdateSmsChannelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateSmsChannelRequest
public static interface UpdateSmsChannelRequest.Builder
extends PinpointRequest.Builder, SdkPojo, CopyableBuilder<UpdateSmsChannelRequest.Builder,UpdateSmsChannelRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The unique identifier for the application.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateSmsChannelRequest.Builder
smsChannelRequest
(Consumer<SMSChannelRequest.Builder> smsChannelRequest) Sets the value of the SMSChannelRequest property for this object.smsChannelRequest
(SMSChannelRequest smsChannelRequest) Sets the value of the SMSChannelRequest property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.
-
smsChannelRequest
Sets the value of the SMSChannelRequest property for this object.- Parameters:
smsChannelRequest
- The new value for the SMSChannelRequest property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smsChannelRequest
default UpdateSmsChannelRequest.Builder smsChannelRequest(Consumer<SMSChannelRequest.Builder> smsChannelRequest) Sets the value of the SMSChannelRequest property for this object. This is a convenience method that creates an instance of theSMSChannelRequest.Builder
avoiding the need to create one manually viaSMSChannelRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosmsChannelRequest(SMSChannelRequest)
.- Parameters:
smsChannelRequest
- a consumer that will call methods onSMSChannelRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateSmsChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateSmsChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-