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