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