Class CfnConnectorPropsMixin.S3LogDeliveryProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kafkaconnect.CfnConnectorPropsMixin.S3LogDeliveryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorPropsMixin.S3LogDeliveryProperty>
- Enclosing interface:
CfnConnectorPropsMixin.S3LogDeliveryProperty
@Stability(Stable)
public static final class CfnConnectorPropsMixin.S3LogDeliveryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorPropsMixin.S3LogDeliveryProperty>
A builder for
CfnConnectorPropsMixin.S3LogDeliveryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnConnectorPropsMixin.S3LogDeliveryProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnConnectorPropsMixin.S3LogDeliveryProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnConnectorPropsMixin.S3LogDeliveryProperty.getEnabled()Sets the value ofCfnConnectorPropsMixin.S3LogDeliveryProperty.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnConnectorPropsMixin.S3LogDeliveryProperty.Builder bucket(String bucket) Sets the value ofCfnConnectorPropsMixin.S3LogDeliveryProperty.getBucket()- Parameters:
bucket- The name of the S3 bucket that is the destination for log delivery.- Returns:
this
-
enabled
@Stability(Stable) public CfnConnectorPropsMixin.S3LogDeliveryProperty.Builder enabled(Boolean enabled) Sets the value ofCfnConnectorPropsMixin.S3LogDeliveryProperty.getEnabled()- Parameters:
enabled- Specifies whether connector logs get sent to the specified Amazon S3 destination.- Returns:
this
-
enabled
@Stability(Stable) public CfnConnectorPropsMixin.S3LogDeliveryProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnConnectorPropsMixin.S3LogDeliveryProperty.getEnabled()- Parameters:
enabled- Specifies whether connector logs get sent to the specified Amazon S3 destination.- Returns:
this
-
prefix
@Stability(Stable) public CfnConnectorPropsMixin.S3LogDeliveryProperty.Builder prefix(String prefix) Sets the value ofCfnConnectorPropsMixin.S3LogDeliveryProperty.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<CfnConnectorPropsMixin.S3LogDeliveryProperty>- Returns:
- a new instance of
CfnConnectorPropsMixin.S3LogDeliveryProperty - Throws:
NullPointerException- if any required attribute was not provided
-