Interface CreateConfigurationSetEventDestinationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateConfigurationSetEventDestinationRequest.Builder,,CreateConfigurationSetEventDestinationRequest> PinpointEmailRequest.Builder,SdkBuilder<CreateConfigurationSetEventDestinationRequest.Builder,,CreateConfigurationSetEventDestinationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateConfigurationSetEventDestinationRequest
public static interface CreateConfigurationSetEventDestinationRequest.Builder
extends PinpointEmailRequest.Builder, SdkPojo, CopyableBuilder<CreateConfigurationSetEventDestinationRequest.Builder,CreateConfigurationSetEventDestinationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationSetName(String configurationSetName) The name of the configuration set that you want to add an event destination to.eventDestination(Consumer<EventDestinationDefinition.Builder> eventDestination) An object that defines the event destination.eventDestination(EventDestinationDefinition eventDestination) An object that defines the event destination.eventDestinationName(String eventDestinationName) A name that identifies the event destination within the configuration set.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpointemail.model.PinpointEmailRequest.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
-
configurationSetName
CreateConfigurationSetEventDestinationRequest.Builder configurationSetName(String configurationSetName) The name of the configuration set that you want to add an event destination to.
- Parameters:
configurationSetName- The name of the configuration set that you want to add an event destination to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestinationName
CreateConfigurationSetEventDestinationRequest.Builder eventDestinationName(String eventDestinationName) A name that identifies the event destination within the configuration set.
- Parameters:
eventDestinationName- A name that identifies the event destination within the configuration set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestination
CreateConfigurationSetEventDestinationRequest.Builder eventDestination(EventDestinationDefinition eventDestination) An object that defines the event destination.
- Parameters:
eventDestination- An object that defines the event destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestination
default CreateConfigurationSetEventDestinationRequest.Builder eventDestination(Consumer<EventDestinationDefinition.Builder> eventDestination) An object that defines the event destination.
This is a convenience method that creates an instance of theEventDestinationDefinition.Builderavoiding the need to create one manually viaEventDestinationDefinition.builder().When the
Consumercompletes,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:
-
overrideConfiguration
CreateConfigurationSetEventDestinationRequest.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
CreateConfigurationSetEventDestinationRequest.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.
-