Interface EventDestination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EventDestination.Builder,,EventDestination> SdkBuilder<EventDestination.Builder,,EventDestination> SdkPojo
- Enclosing class:
EventDestination
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventDestination.BuildercloudWatchLogsDestination(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination) An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.cloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination) An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.When set to true events will be logged.eventDestinationName(String eventDestinationName) The name of the EventDestination.default EventDestination.BuilderkinesisFirehoseDestination(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.default EventDestination.BuildersnsDestination(Consumer<SnsDestination.Builder> snsDestination) An object that contains information about an event destination that sends logging events to Amazon SNS.snsDestination(SnsDestination snsDestination) An object that contains information about an event destination that sends logging events to Amazon SNS.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
eventDestinationName
The name of the EventDestination.
- Parameters:
eventDestinationName- The name of the EventDestination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
When set to true events will be logged.
- Parameters:
enabled- When set to true events will be logged.- 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_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
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
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
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
EventDestination.Builder cloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination) An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.
- Parameters:
cloudWatchLogsDestination- An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogsDestination
default EventDestination.Builder cloudWatchLogsDestination(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination) An object that contains information about an event destination that sends logging events to Amazon 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:
-
kinesisFirehoseDestination
EventDestination.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 EventDestination.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.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:
-
snsDestination
An object that contains information about an event destination that sends logging events to Amazon SNS.
- Parameters:
snsDestination- An object that contains information about an event destination that sends logging events to Amazon SNS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsDestination
An object that contains information about an event destination that sends logging events 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:
-