Interface CreateEventDestinationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateEventDestinationRequest.Builder,
,CreateEventDestinationRequest> PinpointSmsVoiceV2Request.Builder
,SdkBuilder<CreateEventDestinationRequest.Builder,
,CreateEventDestinationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateEventDestinationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.cloudWatchLogsDestination
(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination) An object that contains information about an event destination for logging to Amazon CloudWatch Logs.cloudWatchLogsDestination
(CloudWatchLogsDestination cloudWatchLogsDestination) An object that contains information about an event destination for logging to Amazon CloudWatch Logs.configurationSetName
(String configurationSetName) Either the name of the configuration set or the configuration set ARN to apply event logging to.eventDestinationName
(String eventDestinationName) The name that identifies the event destination.kinesisFirehoseDestination
(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination) An object that contains information about an event destination for logging to Amazon Data Firehose.kinesisFirehoseDestination
(KinesisFirehoseDestination kinesisFirehoseDestination) An object that contains information about an event destination for logging to Amazon Data Firehose.matchingEventTypes
(Collection<EventType> matchingEventTypes) An array of event types that determine which events to log.matchingEventTypes
(EventType... matchingEventTypes) An array of event types that determine which events to log.matchingEventTypesWithStrings
(String... matchingEventTypes) An array of event types that determine which events to log.matchingEventTypesWithStrings
(Collection<String> matchingEventTypes) An array of event types that determine which events to log.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snsDestination
(Consumer<SnsDestination.Builder> snsDestination) An object that contains information about an event destination for logging to Amazon SNS.snsDestination
(SnsDestination snsDestination) An object that contains information about an event destination for logging to Amazon SNS.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.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
configurationSetName
Either the name of the configuration set or the configuration set ARN to apply event logging to. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.
- Parameters:
configurationSetName
- Either the name of the configuration set or the configuration set ARN to apply event logging to. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestinationName
The name that identifies the event destination.
- Parameters:
eventDestinationName
- The name that identifies the event destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingEventTypesWithStrings
CreateEventDestinationRequest.Builder matchingEventTypesWithStrings(Collection<String> matchingEventTypes) An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging SMS and Voice logs every event type.
The
TEXT_SENT
event type is not supported.- Parameters:
matchingEventTypes
- An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging SMS and Voice logs every event type.The
TEXT_SENT
event type is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingEventTypesWithStrings
An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging SMS and Voice logs every event type.
The
TEXT_SENT
event type is not supported.- Parameters:
matchingEventTypes
- An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging SMS and Voice logs every event type.The
TEXT_SENT
event type is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingEventTypes
An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging SMS and Voice logs every event type.
The
TEXT_SENT
event type is not supported.- Parameters:
matchingEventTypes
- An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging SMS and Voice logs every event type.The
TEXT_SENT
event type is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingEventTypes
An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging SMS and Voice logs every event type.
The
TEXT_SENT
event type is not supported.- Parameters:
matchingEventTypes
- An array of event types that determine which events to log. If "ALL" is used, then AWS End User Messaging SMS and Voice logs every event type.The
TEXT_SENT
event type is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogsDestination
CreateEventDestinationRequest.Builder cloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination) An object that contains information about an event destination for logging to Amazon CloudWatch Logs.
- Parameters:
cloudWatchLogsDestination
- An object that contains information about an event destination for logging to Amazon CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogsDestination
default CreateEventDestinationRequest.Builder cloudWatchLogsDestination(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination) An object that contains information about an event destination for logging to Amazon CloudWatch Logs.
This is a convenience method that creates an instance of theCloudWatchLogsDestination.Builder
avoiding the need to create one manually viaCloudWatchLogsDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchLogsDestination(CloudWatchLogsDestination)
.- Parameters:
cloudWatchLogsDestination
- a consumer that will call methods onCloudWatchLogsDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kinesisFirehoseDestination
CreateEventDestinationRequest.Builder kinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination) An object that contains information about an event destination for logging to Amazon Data Firehose.
- Parameters:
kinesisFirehoseDestination
- An object that contains information about an event destination for logging to Amazon Data Firehose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kinesisFirehoseDestination
default CreateEventDestinationRequest.Builder kinesisFirehoseDestination(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination) An object that contains information about an event destination for logging to Amazon Data Firehose.
This is a convenience method that creates an instance of theKinesisFirehoseDestination.Builder
avoiding the need to create one manually viaKinesisFirehoseDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokinesisFirehoseDestination(KinesisFirehoseDestination)
.- Parameters:
kinesisFirehoseDestination
- a consumer that will call methods onKinesisFirehoseDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snsDestination
An object that contains information about an event destination for logging to Amazon SNS.
- Parameters:
snsDestination
- An object that contains information about an event destination for logging to Amazon SNS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsDestination
default CreateEventDestinationRequest.Builder snsDestination(Consumer<SnsDestination.Builder> snsDestination) An object that contains information about an event destination for logging to Amazon SNS.
This is a convenience method that creates an instance of theSnsDestination.Builder
avoiding the need to create one manually viaSnsDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnsDestination(SnsDestination)
.- Parameters:
snsDestination
- a consumer that will call methods onSnsDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
- Parameters:
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateEventDestinationRequest.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
CreateEventDestinationRequest.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.
-