Class CfnApplication.ApplicationCodeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplication.ApplicationCodeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.ApplicationCodeConfigurationProperty>
- Enclosing interface:
CfnApplication.ApplicationCodeConfigurationProperty
@Stability(Stable)
public static final class CfnApplication.ApplicationCodeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.ApplicationCodeConfigurationProperty>
A builder for
CfnApplication.ApplicationCodeConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.codeContent
(IResolvable codeContent) Sets the value ofCfnApplication.ApplicationCodeConfigurationProperty.getCodeContent()
codeContent
(CfnApplication.CodeContentProperty codeContent) Sets the value ofCfnApplication.ApplicationCodeConfigurationProperty.getCodeContent()
codeContentType
(String codeContentType) Sets the value ofCfnApplication.ApplicationCodeConfigurationProperty.getCodeContentType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
codeContent
@Stability(Stable) public CfnApplication.ApplicationCodeConfigurationProperty.Builder codeContent(IResolvable codeContent) Sets the value ofCfnApplication.ApplicationCodeConfigurationProperty.getCodeContent()
- Parameters:
codeContent
- The location and type of the application code. This parameter is required.- Returns:
this
-
codeContent
@Stability(Stable) public CfnApplication.ApplicationCodeConfigurationProperty.Builder codeContent(CfnApplication.CodeContentProperty codeContent) Sets the value ofCfnApplication.ApplicationCodeConfigurationProperty.getCodeContent()
- Parameters:
codeContent
- The location and type of the application code. This parameter is required.- Returns:
this
-
codeContentType
@Stability(Stable) public CfnApplication.ApplicationCodeConfigurationProperty.Builder codeContentType(String codeContentType) Sets the value ofCfnApplication.ApplicationCodeConfigurationProperty.getCodeContentType()
- Parameters:
codeContentType
- Specifies whether the code content is in text or zip format. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.ApplicationCodeConfigurationProperty>
- Returns:
- a new instance of
CfnApplication.ApplicationCodeConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-