Interface UpdateEventDestinationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateEventDestinationRequest.Builder,
,UpdateEventDestinationRequest> PinpointSmsVoiceV2Request.Builder
,SdkBuilder<UpdateEventDestinationRequest.Builder,
,UpdateEventDestinationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateEventDestinationRequest
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchLogsDestination
(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination) An object that contains information about an event destination that sends data to CloudWatch Logs.cloudWatchLogsDestination
(CloudWatchLogsDestination cloudWatchLogsDestination) An object that contains information about an event destination that sends data to CloudWatch Logs.configurationSetName
(String configurationSetName) The configuration set to update with the new event destination.When set to true logging is enabled.eventDestinationName
(String eventDestinationName) The name to use for the event destination.kinesisFirehoseDestination
(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination) An object that contains information about an event destination for logging to Firehose.kinesisFirehoseDestination
(KinesisFirehoseDestination kinesisFirehoseDestination) An object that contains information about an event destination for logging to 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 that sends data to Amazon SNS.snsDestination
(SnsDestination snsDestination) An object that contains information about an event destination that sends data 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
The configuration set to update with the new event destination. Valid values for this can be the ConfigurationSetName or ConfigurationSetArn.
- Parameters:
configurationSetName
- The configuration set to update with the new event destination. Valid values for this can be the ConfigurationSetName or ConfigurationSetArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestinationName
The name to use for the event destination.
- Parameters:
eventDestinationName
- The name to use for the event destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
When set to true logging is enabled.
- Parameters:
enabled
- When set to true logging is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingEventTypesWithStrings
UpdateEventDestinationRequest.Builder matchingEventTypesWithStrings(Collection<String> matchingEventTypes) An array of event types that determine which events to log.
The
TEXT_SENT
event type is not supported.- Parameters:
matchingEventTypes
- An array of event types that determine which events to log.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.
The
TEXT_SENT
event type is not supported.- Parameters:
matchingEventTypes
- An array of event types that determine which events to log.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.
The
TEXT_SENT
event type is not supported.- Parameters:
matchingEventTypes
- An array of event types that determine which events to log.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.
The
TEXT_SENT
event type is not supported.- Parameters:
matchingEventTypes
- An array of event types that determine which events to log.The
TEXT_SENT
event type is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogsDestination
UpdateEventDestinationRequest.Builder cloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination) An object that contains information about an event destination that sends data to CloudWatch Logs.
- Parameters:
cloudWatchLogsDestination
- An object that contains information about an event destination that sends data to CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogsDestination
default UpdateEventDestinationRequest.Builder cloudWatchLogsDestination(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination) An object that contains information about an event destination that sends data to 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
UpdateEventDestinationRequest.Builder kinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination) An object that contains information about an event destination for logging to Firehose.
- Parameters:
kinesisFirehoseDestination
- An object that contains information about an event destination for logging to Firehose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kinesisFirehoseDestination
default UpdateEventDestinationRequest.Builder kinesisFirehoseDestination(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination) An object that contains information about an event destination for logging to 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 that sends data to Amazon SNS.
- Parameters:
snsDestination
- An object that contains information about an event destination that sends data to Amazon SNS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsDestination
default UpdateEventDestinationRequest.Builder snsDestination(Consumer<SnsDestination.Builder> snsDestination) An object that contains information about an event destination that sends data 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:
-
overrideConfiguration
UpdateEventDestinationRequest.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
UpdateEventDestinationRequest.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.
-