Class CfnCustomPluginPropsMixin.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kafkaconnect.CfnCustomPluginPropsMixin.S3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomPluginPropsMixin.S3LocationProperty>
- Enclosing interface:
CfnCustomPluginPropsMixin.S3LocationProperty
@Stability(Stable)
public static final class CfnCustomPluginPropsMixin.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomPluginPropsMixin.S3LocationProperty>
A builder for
CfnCustomPluginPropsMixin.S3LocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnCustomPluginPropsMixin.S3LocationProperty.getBucketArn()build()Builds the configured instance.Sets the value ofCfnCustomPluginPropsMixin.S3LocationProperty.getFileKey()objectVersion(String objectVersion) Sets the value ofCfnCustomPluginPropsMixin.S3LocationProperty.getObjectVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketArn
@Stability(Stable) public CfnCustomPluginPropsMixin.S3LocationProperty.Builder bucketArn(String bucketArn) Sets the value ofCfnCustomPluginPropsMixin.S3LocationProperty.getBucketArn()- Parameters:
bucketArn- The Amazon Resource Name (ARN) of an S3 bucket.- Returns:
this
-
fileKey
@Stability(Stable) public CfnCustomPluginPropsMixin.S3LocationProperty.Builder fileKey(String fileKey) Sets the value ofCfnCustomPluginPropsMixin.S3LocationProperty.getFileKey()- Parameters:
fileKey- The file key for an object in an S3 bucket.- Returns:
this
-
objectVersion
@Stability(Stable) public CfnCustomPluginPropsMixin.S3LocationProperty.Builder objectVersion(String objectVersion) Sets the value ofCfnCustomPluginPropsMixin.S3LocationProperty.getObjectVersion()- Parameters:
objectVersion- The version of an object in an S3 bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCustomPluginPropsMixin.S3LocationProperty>- Returns:
- a new instance of
CfnCustomPluginPropsMixin.S3LocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-