Class CfnCacheClusterPropsMixin.DestinationDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticache.CfnCacheClusterPropsMixin.DestinationDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCacheClusterPropsMixin.DestinationDetailsProperty>
- Enclosing interface:
CfnCacheClusterPropsMixin.DestinationDetailsProperty
@Stability(Stable)
public static final class CfnCacheClusterPropsMixin.DestinationDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCacheClusterPropsMixin.DestinationDetailsProperty>
A builder for
CfnCacheClusterPropsMixin.DestinationDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogsDetails(CfnCacheClusterPropsMixin.CloudWatchLogsDestinationDetailsProperty cloudWatchLogsDetails) cloudWatchLogsDetails(IResolvable cloudWatchLogsDetails) kinesisFirehoseDetails(CfnCacheClusterPropsMixin.KinesisFirehoseDestinationDetailsProperty kinesisFirehoseDetails) kinesisFirehoseDetails(IResolvable kinesisFirehoseDetails)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogsDetails
@Stability(Stable) public CfnCacheClusterPropsMixin.DestinationDetailsProperty.Builder cloudWatchLogsDetails(IResolvable cloudWatchLogsDetails) - Parameters:
cloudWatchLogsDetails- The configuration details of the CloudWatch Logs destination. Note that this field is marked as required but only if CloudWatch Logs was chosen as the destination.- Returns:
this
-
cloudWatchLogsDetails
@Stability(Stable) public CfnCacheClusterPropsMixin.DestinationDetailsProperty.Builder cloudWatchLogsDetails(CfnCacheClusterPropsMixin.CloudWatchLogsDestinationDetailsProperty cloudWatchLogsDetails) - Parameters:
cloudWatchLogsDetails- The configuration details of the CloudWatch Logs destination. Note that this field is marked as required but only if CloudWatch Logs was chosen as the destination.- Returns:
this
-
kinesisFirehoseDetails
@Stability(Stable) public CfnCacheClusterPropsMixin.DestinationDetailsProperty.Builder kinesisFirehoseDetails(IResolvable kinesisFirehoseDetails) - Parameters:
kinesisFirehoseDetails- The configuration details of the Kinesis Data Firehose destination. Note that this field is marked as required but only if Kinesis Data Firehose was chosen as the destination.- Returns:
this
-
kinesisFirehoseDetails
@Stability(Stable) public CfnCacheClusterPropsMixin.DestinationDetailsProperty.Builder kinesisFirehoseDetails(CfnCacheClusterPropsMixin.KinesisFirehoseDestinationDetailsProperty kinesisFirehoseDetails) - Parameters:
kinesisFirehoseDetails- The configuration details of the Kinesis Data Firehose destination. Note that this field is marked as required but only if Kinesis Data Firehose was chosen as the destination.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCacheClusterPropsMixin.DestinationDetailsProperty>- Returns:
- a new instance of
CfnCacheClusterPropsMixin.DestinationDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-