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