Interface UpdateEventDestinationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateEventDestinationRequest.Builder,UpdateEventDestinationRequest>,PinpointSmsVoiceV2Request.Builder,SdkBuilder<UpdateEventDestinationRequest.Builder,UpdateEventDestinationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateEventDestinationRequest
public static interface UpdateEventDestinationRequest.Builder extends PinpointSmsVoiceV2Request.Builder, SdkPojo, CopyableBuilder<UpdateEventDestinationRequest.Builder,UpdateEventDestinationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateEventDestinationRequest.BuildercloudWatchLogsDestination(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination)An object that contains information about an event destination that sends data to CloudWatch Logs.UpdateEventDestinationRequest.BuildercloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)An object that contains information about an event destination that sends data to CloudWatch Logs.UpdateEventDestinationRequest.BuilderconfigurationSetName(String configurationSetName)The configuration set to update with the new event destination.UpdateEventDestinationRequest.Builderenabled(Boolean enabled)When set to true logging is enabled.UpdateEventDestinationRequest.BuildereventDestinationName(String eventDestinationName)The name to use for the event destination.default UpdateEventDestinationRequest.BuilderkinesisFirehoseDestination(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination)An object that contains information about an event destination for logging to Firehose.UpdateEventDestinationRequest.BuilderkinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)An object that contains information about an event destination for logging to Firehose.UpdateEventDestinationRequest.BuildermatchingEventTypes(Collection<EventType> matchingEventTypes)An array of event types that determine which events to log.UpdateEventDestinationRequest.BuildermatchingEventTypes(EventType... matchingEventTypes)An array of event types that determine which events to log.UpdateEventDestinationRequest.BuildermatchingEventTypesWithStrings(String... matchingEventTypes)An array of event types that determine which events to log.UpdateEventDestinationRequest.BuildermatchingEventTypesWithStrings(Collection<String> matchingEventTypes)An array of event types that determine which events to log.UpdateEventDestinationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateEventDestinationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateEventDestinationRequest.BuildersnsDestination(Consumer<SnsDestination.Builder> snsDestination)An object that contains information about an event destination that sends data to Amazon SNS.UpdateEventDestinationRequest.BuildersnsDestination(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, sdkFields
-
-
-
-
Method Detail
-
configurationSetName
UpdateEventDestinationRequest.Builder configurationSetName(String 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
UpdateEventDestinationRequest.Builder eventDestinationName(String 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
UpdateEventDestinationRequest.Builder enabled(Boolean 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_SENTevent type is not supported.- Parameters:
matchingEventTypes- An array of event types that determine which events to log.The
TEXT_SENTevent type is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingEventTypesWithStrings
UpdateEventDestinationRequest.Builder matchingEventTypesWithStrings(String... matchingEventTypes)
An array of event types that determine which events to log.
The
TEXT_SENTevent type is not supported.- Parameters:
matchingEventTypes- An array of event types that determine which events to log.The
TEXT_SENTevent type is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingEventTypes
UpdateEventDestinationRequest.Builder matchingEventTypes(Collection<EventType> matchingEventTypes)
An array of event types that determine which events to log.
The
TEXT_SENTevent type is not supported.- Parameters:
matchingEventTypes- An array of event types that determine which events to log.The
TEXT_SENTevent type is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingEventTypes
UpdateEventDestinationRequest.Builder matchingEventTypes(EventType... matchingEventTypes)
An array of event types that determine which events to log.
The
TEXT_SENTevent type is not supported.- Parameters:
matchingEventTypes- An array of event types that determine which events to log.The
TEXT_SENTevent 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.Builderavoiding the need to create one manually viaCloudWatchLogsDestination.builder().When the
Consumercompletes,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:
cloudWatchLogsDestination(CloudWatchLogsDestination)
-
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.Builderavoiding the need to create one manually viaKinesisFirehoseDestination.builder().When the
Consumercompletes,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:
kinesisFirehoseDestination(KinesisFirehoseDestination)
-
snsDestination
UpdateEventDestinationRequest.Builder snsDestination(SnsDestination 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.Builderavoiding the need to create one manually viaSnsDestination.builder().When the
Consumercompletes,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:
snsDestination(SnsDestination)
-
overrideConfiguration
UpdateEventDestinationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateEventDestinationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-