Class CfnConfigurationSetPropsMixin.EventDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.smsvoice.CfnConfigurationSetPropsMixin.EventDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSetPropsMixin.EventDestinationProperty>
- Enclosing interface:
CfnConfigurationSetPropsMixin.EventDestinationProperty
@Stability(Stable)
public static final class CfnConfigurationSetPropsMixin.EventDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSetPropsMixin.EventDestinationProperty>
A builder for
CfnConfigurationSetPropsMixin.EventDestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogsDestination(CfnConfigurationSetPropsMixin.CloudWatchLogsDestinationProperty cloudWatchLogsDestination) cloudWatchLogsDestination(IResolvable cloudWatchLogsDestination) Sets the value ofCfnConfigurationSetPropsMixin.EventDestinationProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnConfigurationSetPropsMixin.EventDestinationProperty.getEnabled()eventDestinationName(String eventDestinationName) kinesisFirehoseDestination(CfnConfigurationSetPropsMixin.KinesisFirehoseDestinationProperty kinesisFirehoseDestination) kinesisFirehoseDestination(IResolvable kinesisFirehoseDestination) matchingEventTypes(List<String> matchingEventTypes) snsDestination(CfnConfigurationSetPropsMixin.SnsDestinationProperty snsDestination) snsDestination(IResolvable snsDestination)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogsDestination
@Stability(Stable) public CfnConfigurationSetPropsMixin.EventDestinationProperty.Builder cloudWatchLogsDestination(IResolvable cloudWatchLogsDestination) Sets the value ofCfnConfigurationSetPropsMixin.EventDestinationProperty.getCloudWatchLogsDestination()- Parameters:
cloudWatchLogsDestination- An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.- Returns:
this
-
cloudWatchLogsDestination
@Stability(Stable) public CfnConfigurationSetPropsMixin.EventDestinationProperty.Builder cloudWatchLogsDestination(CfnConfigurationSetPropsMixin.CloudWatchLogsDestinationProperty cloudWatchLogsDestination) Sets the value ofCfnConfigurationSetPropsMixin.EventDestinationProperty.getCloudWatchLogsDestination()- Parameters:
cloudWatchLogsDestination- An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.- Returns:
this
-
enabled
@Stability(Stable) public CfnConfigurationSetPropsMixin.EventDestinationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnConfigurationSetPropsMixin.EventDestinationProperty.getEnabled()- Parameters:
enabled- When set to true events will be logged.- Returns:
this
-
enabled
@Stability(Stable) public CfnConfigurationSetPropsMixin.EventDestinationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnConfigurationSetPropsMixin.EventDestinationProperty.getEnabled()- Parameters:
enabled- When set to true events will be logged.- Returns:
this
-
eventDestinationName
@Stability(Stable) public CfnConfigurationSetPropsMixin.EventDestinationProperty.Builder eventDestinationName(String eventDestinationName) - Parameters:
eventDestinationName- The name of the EventDestination.- Returns:
this
-
kinesisFirehoseDestination
@Stability(Stable) public CfnConfigurationSetPropsMixin.EventDestinationProperty.Builder kinesisFirehoseDestination(IResolvable kinesisFirehoseDestination) Sets the value ofCfnConfigurationSetPropsMixin.EventDestinationProperty.getKinesisFirehoseDestination()- Parameters:
kinesisFirehoseDestination- An object that contains information about an event destination for logging to Amazon Data Firehose.- Returns:
this
-
kinesisFirehoseDestination
@Stability(Stable) public CfnConfigurationSetPropsMixin.EventDestinationProperty.Builder kinesisFirehoseDestination(CfnConfigurationSetPropsMixin.KinesisFirehoseDestinationProperty kinesisFirehoseDestination) Sets the value ofCfnConfigurationSetPropsMixin.EventDestinationProperty.getKinesisFirehoseDestination()- Parameters:
kinesisFirehoseDestination- An object that contains information about an event destination for logging to Amazon Data Firehose.- Returns:
this
-
matchingEventTypes
@Stability(Stable) public CfnConfigurationSetPropsMixin.EventDestinationProperty.Builder matchingEventTypes(List<String> matchingEventTypes) - Parameters:
matchingEventTypes- An array of event types that determine which events to log.The
TEXT_SENTevent type is not supported.- Returns:
this
-
snsDestination
@Stability(Stable) public CfnConfigurationSetPropsMixin.EventDestinationProperty.Builder snsDestination(IResolvable snsDestination) - Parameters:
snsDestination- An object that contains information about an event destination that sends logging events to Amazon SNS.- Returns:
this
-
snsDestination
@Stability(Stable) public CfnConfigurationSetPropsMixin.EventDestinationProperty.Builder snsDestination(CfnConfigurationSetPropsMixin.SnsDestinationProperty snsDestination) - Parameters:
snsDestination- An object that contains information about an event destination that sends logging events to Amazon SNS.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationSetPropsMixin.EventDestinationProperty>- Returns:
- a new instance of
CfnConfigurationSetPropsMixin.EventDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-