public static final class CfnCluster.S3Property.Builder
extends java.lang.Object
CfnCluster.S3Property
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCluster.S3Property.Builder |
bucket(java.lang.String bucket)
Sets the value of
CfnCluster.S3Property.getBucket() |
CfnCluster.S3Property |
build()
Builds the configured instance.
|
CfnCluster.S3Property.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
CfnCluster.S3Property.getEnabled() |
CfnCluster.S3Property.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnCluster.S3Property.getEnabled() |
CfnCluster.S3Property.Builder |
prefix(java.lang.String prefix)
Sets the value of
CfnCluster.S3Property.getPrefix() |
public CfnCluster.S3Property.Builder enabled(java.lang.Boolean enabled)
CfnCluster.S3Property.getEnabled()
enabled
- Specifies whether broker logs get sent to the specified Amazon S3 destination. This parameter is required.this
public CfnCluster.S3Property.Builder enabled(IResolvable enabled)
CfnCluster.S3Property.getEnabled()
enabled
- Specifies whether broker logs get sent to the specified Amazon S3 destination. This parameter is required.this
public CfnCluster.S3Property.Builder bucket(java.lang.String bucket)
CfnCluster.S3Property.getBucket()
bucket
- The name of the S3 bucket that is the destination for broker logs.this
public CfnCluster.S3Property.Builder prefix(java.lang.String prefix)
CfnCluster.S3Property.getPrefix()
prefix
- The S3 prefix that is the destination for broker logs.this
public CfnCluster.S3Property build()
CfnCluster.S3Property
java.lang.NullPointerException
- if any required attribute was not provided