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