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