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