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