Class CfnCluster.S3Property.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnCluster.S3Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.S3Property>
- Enclosing interface:
- CfnCluster.S3Property
@Stability(Stable)
public static final class CfnCluster.S3Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.S3Property>
A builder for
CfnCluster.S3Property
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnCluster.S3Property.getBucket()
build()
Builds the configured instance.Sets the value ofCfnCluster.S3Property.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnCluster.S3Property.getEnabled()
Sets the value ofCfnCluster.S3Property.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnCluster.S3Property.getEnabled()
- Parameters:
enabled
- Specifies whether broker logs get sent to the specified Amazon S3 destination. This parameter is required.- Returns:
this
-
enabled
Sets the value ofCfnCluster.S3Property.getEnabled()
- Parameters:
enabled
- Specifies whether broker logs get sent to the specified Amazon S3 destination. This parameter is required.- Returns:
this
-
bucket
Sets the value ofCfnCluster.S3Property.getBucket()
- Parameters:
bucket
- The name of the S3 bucket that is the destination for broker logs.- Returns:
this
-
prefix
Sets the value ofCfnCluster.S3Property.getPrefix()
- Parameters:
prefix
- The S3 prefix that is the destination for broker logs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.S3Property>
- Returns:
- a new instance of
CfnCluster.S3Property
- Throws:
NullPointerException
- if any required attribute was not provided
-