Class CfnApplicationV2.CodeContentProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.CodeContentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationV2.CodeContentProperty>
- Enclosing interface:
CfnApplicationV2.CodeContentProperty
@Stability(Stable)
public static final class CfnApplicationV2.CodeContentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationV2.CodeContentProperty>
A builder for
CfnApplicationV2.CodeContentProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.s3ContentLocation
(IResolvable s3ContentLocation) Sets the value ofCfnApplicationV2.CodeContentProperty.getS3ContentLocation()
s3ContentLocation
(CfnApplicationV2.S3ContentLocationProperty s3ContentLocation) Sets the value ofCfnApplicationV2.CodeContentProperty.getS3ContentLocation()
textContent
(String textContent) Sets the value ofCfnApplicationV2.CodeContentProperty.getTextContent()
zipFileContent
(String zipFileContent) Sets the value ofCfnApplicationV2.CodeContentProperty.getZipFileContent()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3ContentLocation
@Stability(Stable) public CfnApplicationV2.CodeContentProperty.Builder s3ContentLocation(IResolvable s3ContentLocation) Sets the value ofCfnApplicationV2.CodeContentProperty.getS3ContentLocation()
- Parameters:
s3ContentLocation
- Information about the Amazon S3 bucket that contains the application code.- Returns:
this
-
s3ContentLocation
@Stability(Stable) public CfnApplicationV2.CodeContentProperty.Builder s3ContentLocation(CfnApplicationV2.S3ContentLocationProperty s3ContentLocation) Sets the value ofCfnApplicationV2.CodeContentProperty.getS3ContentLocation()
- Parameters:
s3ContentLocation
- Information about the Amazon S3 bucket that contains the application code.- Returns:
this
-
textContent
@Stability(Stable) public CfnApplicationV2.CodeContentProperty.Builder textContent(String textContent) Sets the value ofCfnApplicationV2.CodeContentProperty.getTextContent()
- Parameters:
textContent
- The text-format code for a Flink-based Kinesis Data Analytics application.- Returns:
this
-
zipFileContent
@Stability(Stable) public CfnApplicationV2.CodeContentProperty.Builder zipFileContent(String zipFileContent) Sets the value ofCfnApplicationV2.CodeContentProperty.getZipFileContent()
- Parameters:
zipFileContent
- The zip-format code for a Flink-based Kinesis Data Analytics application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationV2.CodeContentProperty>
- Returns:
- a new instance of
CfnApplicationV2.CodeContentProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-