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