Class CfnReplicator.ReplicatorLogDeliveryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnReplicator.ReplicatorLogDeliveryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicator.ReplicatorLogDeliveryProperty>
- Enclosing interface:
CfnReplicator.ReplicatorLogDeliveryProperty
@Stability(Stable)
public static final class CfnReplicator.ReplicatorLogDeliveryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicator.ReplicatorLogDeliveryProperty>
A builder for
CfnReplicator.ReplicatorLogDeliveryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogs(IResolvable cloudWatchLogs) Sets the value ofCfnReplicator.ReplicatorLogDeliveryProperty.getCloudWatchLogs()cloudWatchLogs(CfnReplicator.CloudWatchLogsProperty cloudWatchLogs) Sets the value ofCfnReplicator.ReplicatorLogDeliveryProperty.getCloudWatchLogs()firehose(IResolvable firehose) Sets the value ofCfnReplicator.ReplicatorLogDeliveryProperty.getFirehose()firehose(CfnReplicator.FirehoseProperty firehose) Sets the value ofCfnReplicator.ReplicatorLogDeliveryProperty.getFirehose()s3(IResolvable s3) Sets the value ofCfnReplicator.ReplicatorLogDeliveryProperty.getS3()Sets the value ofCfnReplicator.ReplicatorLogDeliveryProperty.getS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogs
@Stability(Stable) public CfnReplicator.ReplicatorLogDeliveryProperty.Builder cloudWatchLogs(IResolvable cloudWatchLogs) Sets the value ofCfnReplicator.ReplicatorLogDeliveryProperty.getCloudWatchLogs()- Parameters:
cloudWatchLogs- Details about delivering logs to CloudWatch Logs.- Returns:
this
-
cloudWatchLogs
@Stability(Stable) public CfnReplicator.ReplicatorLogDeliveryProperty.Builder cloudWatchLogs(CfnReplicator.CloudWatchLogsProperty cloudWatchLogs) Sets the value ofCfnReplicator.ReplicatorLogDeliveryProperty.getCloudWatchLogs()- Parameters:
cloudWatchLogs- Details about delivering logs to CloudWatch Logs.- Returns:
this
-
firehose
@Stability(Stable) public CfnReplicator.ReplicatorLogDeliveryProperty.Builder firehose(IResolvable firehose) Sets the value ofCfnReplicator.ReplicatorLogDeliveryProperty.getFirehose()- Parameters:
firehose- Details about delivering logs to Firehose.- Returns:
this
-
firehose
@Stability(Stable) public CfnReplicator.ReplicatorLogDeliveryProperty.Builder firehose(CfnReplicator.FirehoseProperty firehose) Sets the value ofCfnReplicator.ReplicatorLogDeliveryProperty.getFirehose()- Parameters:
firehose- Details about delivering logs to Firehose.- Returns:
this
-
s3
Sets the value ofCfnReplicator.ReplicatorLogDeliveryProperty.getS3()- Parameters:
s3- Details about delivering logs to S3.- Returns:
this
-
s3
@Stability(Stable) public CfnReplicator.ReplicatorLogDeliveryProperty.Builder s3(CfnReplicator.S3Property s3) Sets the value ofCfnReplicator.ReplicatorLogDeliveryProperty.getS3()- Parameters:
s3- Details about delivering logs to S3.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplicator.ReplicatorLogDeliveryProperty>- Returns:
- a new instance of
CfnReplicator.ReplicatorLogDeliveryProperty - Throws:
NullPointerException- if any required attribute was not provided
-