Class CfnClusterPropsMixin.BrokerLogsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnClusterPropsMixin.BrokerLogsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.BrokerLogsProperty>
- Enclosing interface:
CfnClusterPropsMixin.BrokerLogsProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.BrokerLogsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.BrokerLogsProperty>
A builder for
CfnClusterPropsMixin.BrokerLogsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogs(CfnClusterPropsMixin.CloudWatchLogsProperty cloudWatchLogs) Sets the value ofCfnClusterPropsMixin.BrokerLogsProperty.getCloudWatchLogs()cloudWatchLogs(IResolvable cloudWatchLogs) Sets the value ofCfnClusterPropsMixin.BrokerLogsProperty.getCloudWatchLogs()Sets the value ofCfnClusterPropsMixin.BrokerLogsProperty.getFirehose()firehose(IResolvable firehose) Sets the value ofCfnClusterPropsMixin.BrokerLogsProperty.getFirehose()Sets the value ofCfnClusterPropsMixin.BrokerLogsProperty.getS3()s3(IResolvable s3) Sets the value ofCfnClusterPropsMixin.BrokerLogsProperty.getS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogs
@Stability(Stable) public CfnClusterPropsMixin.BrokerLogsProperty.Builder cloudWatchLogs(IResolvable cloudWatchLogs) Sets the value ofCfnClusterPropsMixin.BrokerLogsProperty.getCloudWatchLogs()- Parameters:
cloudWatchLogs- the value to be set.- Returns:
this
-
cloudWatchLogs
@Stability(Stable) public CfnClusterPropsMixin.BrokerLogsProperty.Builder cloudWatchLogs(CfnClusterPropsMixin.CloudWatchLogsProperty cloudWatchLogs) Sets the value ofCfnClusterPropsMixin.BrokerLogsProperty.getCloudWatchLogs()- Parameters:
cloudWatchLogs- the value to be set.- Returns:
this
-
firehose
@Stability(Stable) public CfnClusterPropsMixin.BrokerLogsProperty.Builder firehose(IResolvable firehose) Sets the value ofCfnClusterPropsMixin.BrokerLogsProperty.getFirehose()- Parameters:
firehose- Details of the Kinesis Data Firehose delivery stream that is the destination for broker logs.- Returns:
this
-
firehose
@Stability(Stable) public CfnClusterPropsMixin.BrokerLogsProperty.Builder firehose(CfnClusterPropsMixin.FirehoseProperty firehose) Sets the value ofCfnClusterPropsMixin.BrokerLogsProperty.getFirehose()- Parameters:
firehose- Details of the Kinesis Data Firehose delivery stream that is the destination for broker logs.- Returns:
this
-
s3
Sets the value ofCfnClusterPropsMixin.BrokerLogsProperty.getS3()- Parameters:
s3- Details of the Amazon S3 destination for broker logs.- Returns:
this
-
s3
@Stability(Stable) public CfnClusterPropsMixin.BrokerLogsProperty.Builder s3(CfnClusterPropsMixin.S3Property s3) Sets the value ofCfnClusterPropsMixin.BrokerLogsProperty.getS3()- Parameters:
s3- Details of the Amazon S3 destination for broker logs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.BrokerLogsProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.BrokerLogsProperty - Throws:
NullPointerException- if any required attribute was not provided
-