Interface EventDestination.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EventDestination.Builder,EventDestination>,SdkBuilder<EventDestination.Builder,EventDestination>,SdkPojo
- Enclosing class:
- EventDestination
public static interface EventDestination.Builder extends SdkPojo, CopyableBuilder<EventDestination.Builder,EventDestination>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EventDestination.BuildercloudWatchLogsDestination(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination)An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.EventDestination.BuildercloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.EventDestination.Builderenabled(Boolean enabled)When set to true events will be logged.EventDestination.BuildereventDestinationName(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 Kinesis Data Firehose.EventDestination.BuilderkinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.EventDestination.BuildermatchingEventTypes(Collection<EventType> matchingEventTypes)An array of event types that determine which events to log.EventDestination.BuildermatchingEventTypes(EventType... matchingEventTypes)An array of event types that determine which events to log.EventDestination.BuildermatchingEventTypesWithStrings(String... matchingEventTypes)An array of event types that determine which events to log.EventDestination.BuildermatchingEventTypesWithStrings(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.EventDestination.BuildersnsDestination(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
copy
-
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
-
eventDestinationName
EventDestination.Builder eventDestinationName(String 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
EventDestination.Builder enabled(Boolean 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
EventDestination.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
EventDestination.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
EventDestination.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
EventDestination.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
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:
cloudWatchLogsDestination(CloudWatchLogsDestination)
-
kinesisFirehoseDestination
EventDestination.Builder kinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.
- Parameters:
kinesisFirehoseDestination- An object that contains information about an event destination for logging to Amazon Kinesis 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 Kinesis 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:
kinesisFirehoseDestination(KinesisFirehoseDestination)
-
snsDestination
EventDestination.Builder snsDestination(SnsDestination 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
default EventDestination.Builder snsDestination(Consumer<SnsDestination.Builder> 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:
snsDestination(SnsDestination)
-
-