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