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