Interface CreateConfigurationSetEventDestinationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateConfigurationSetEventDestinationRequest.Builder,
,CreateConfigurationSetEventDestinationRequest> SdkBuilder<CreateConfigurationSetEventDestinationRequest.Builder,
,CreateConfigurationSetEventDestinationRequest> SdkPojo
,SdkRequest.Builder
,SesV2Request.Builder
- Enclosing class:
CreateConfigurationSetEventDestinationRequest
public static interface CreateConfigurationSetEventDestinationRequest.Builder
extends SesV2Request.Builder, SdkPojo, CopyableBuilder<CreateConfigurationSetEventDestinationRequest.Builder,CreateConfigurationSetEventDestinationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationSetName
(String configurationSetName) The name of the configuration set .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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Request.Builder
build
-
Method Details
-
configurationSetName
CreateConfigurationSetEventDestinationRequest.Builder configurationSetName(String configurationSetName) The name of the configuration set .
- Parameters:
configurationSetName
- The name of the configuration set .- 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.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:
-
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.
-