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