Class CfnCacheCluster.DestinationDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticache.CfnCacheCluster.DestinationDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCacheCluster.DestinationDetailsProperty>
- Enclosing interface:
CfnCacheCluster.DestinationDetailsProperty
@Stability(Stable)
public static final class CfnCacheCluster.DestinationDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCacheCluster.DestinationDetailsProperty>
A builder for
CfnCacheCluster.DestinationDetailsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudWatchLogsDetails
(IResolvable cloudWatchLogsDetails) Sets the value ofCfnCacheCluster.DestinationDetailsProperty.getCloudWatchLogsDetails()
cloudWatchLogsDetails
(CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty cloudWatchLogsDetails) Sets the value ofCfnCacheCluster.DestinationDetailsProperty.getCloudWatchLogsDetails()
kinesisFirehoseDetails
(IResolvable kinesisFirehoseDetails) Sets the value ofCfnCacheCluster.DestinationDetailsProperty.getKinesisFirehoseDetails()
kinesisFirehoseDetails
(CfnCacheCluster.KinesisFirehoseDestinationDetailsProperty kinesisFirehoseDetails) Sets the value ofCfnCacheCluster.DestinationDetailsProperty.getKinesisFirehoseDetails()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogsDetails
@Stability(Stable) public CfnCacheCluster.DestinationDetailsProperty.Builder cloudWatchLogsDetails(IResolvable cloudWatchLogsDetails) Sets the value ofCfnCacheCluster.DestinationDetailsProperty.getCloudWatchLogsDetails()
- 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 CfnCacheCluster.DestinationDetailsProperty.Builder cloudWatchLogsDetails(CfnCacheCluster.CloudWatchLogsDestinationDetailsProperty cloudWatchLogsDetails) Sets the value ofCfnCacheCluster.DestinationDetailsProperty.getCloudWatchLogsDetails()
- 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 CfnCacheCluster.DestinationDetailsProperty.Builder kinesisFirehoseDetails(IResolvable kinesisFirehoseDetails) Sets the value ofCfnCacheCluster.DestinationDetailsProperty.getKinesisFirehoseDetails()
- 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 CfnCacheCluster.DestinationDetailsProperty.Builder kinesisFirehoseDetails(CfnCacheCluster.KinesisFirehoseDestinationDetailsProperty kinesisFirehoseDetails) Sets the value ofCfnCacheCluster.DestinationDetailsProperty.getKinesisFirehoseDetails()
- 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnCacheCluster.DestinationDetailsProperty>
- Returns:
- a new instance of
CfnCacheCluster.DestinationDetailsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-