Interface CreateConfigurationSetEventDestinationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateConfigurationSetEventDestinationRequest.Builder,
,CreateConfigurationSetEventDestinationRequest> PinpointSmsVoiceRequest.Builder
,SdkBuilder<CreateConfigurationSetEventDestinationRequest.Builder,
,CreateConfigurationSetEventDestinationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateConfigurationSetEventDestinationRequest
public static interface CreateConfigurationSetEventDestinationRequest.Builder
extends PinpointSmsVoiceRequest.Builder, SdkPojo, CopyableBuilder<CreateConfigurationSetEventDestinationRequest.Builder,CreateConfigurationSetEventDestinationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationSetName
(String configurationSetName) ConfigurationSetNameeventDestination
(Consumer<EventDestinationDefinition.Builder> eventDestination) Sets the value of the EventDestination property for this object.eventDestination
(EventDestinationDefinition eventDestination) Sets the value of the EventDestination property for this object.eventDestinationName
(String eventDestinationName) A name that identifies the event destination.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.pinpointsmsvoice.model.PinpointSmsVoiceRequest.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
-
configurationSetName
CreateConfigurationSetEventDestinationRequest.Builder configurationSetName(String configurationSetName) ConfigurationSetName- Parameters:
configurationSetName
- ConfigurationSetName- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestination
CreateConfigurationSetEventDestinationRequest.Builder eventDestination(EventDestinationDefinition eventDestination) Sets the value of the EventDestination property for this object.- Parameters:
eventDestination
- The new value for the EventDestination property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestination
default CreateConfigurationSetEventDestinationRequest.Builder eventDestination(Consumer<EventDestinationDefinition.Builder> eventDestination) Sets the value of the EventDestination property for this object. This is a convenience method that creates an instance of theEventDestinationDefinition.Builder
avoiding the need to create one manually viaEventDestinationDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventDestination(EventDestinationDefinition)
.- Parameters:
eventDestination
- a consumer that will call methods onEventDestinationDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventDestinationName
CreateConfigurationSetEventDestinationRequest.Builder eventDestinationName(String eventDestinationName) A name that identifies the event destination.- Parameters:
eventDestinationName
- A name that identifies the event destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateConfigurationSetEventDestinationRequest.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
CreateConfigurationSetEventDestinationRequest.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.
-