Class CfnApplicationV2.ApplicationCodeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.ApplicationCodeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationV2.ApplicationCodeConfigurationProperty>
- Enclosing interface:
CfnApplicationV2.ApplicationCodeConfigurationProperty
@Stability(Stable)
public static final class CfnApplicationV2.ApplicationCodeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationV2.ApplicationCodeConfigurationProperty>
A builder for
CfnApplicationV2.ApplicationCodeConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.codeContent
(IResolvable codeContent) Sets the value ofCfnApplicationV2.ApplicationCodeConfigurationProperty.getCodeContent()
codeContent
(CfnApplicationV2.CodeContentProperty codeContent) Sets the value ofCfnApplicationV2.ApplicationCodeConfigurationProperty.getCodeContent()
codeContentType
(String codeContentType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
codeContent
@Stability(Stable) public CfnApplicationV2.ApplicationCodeConfigurationProperty.Builder codeContent(IResolvable codeContent) Sets the value ofCfnApplicationV2.ApplicationCodeConfigurationProperty.getCodeContent()
- Parameters:
codeContent
- The location and type of the application code. This parameter is required.- Returns:
this
-
codeContent
@Stability(Stable) public CfnApplicationV2.ApplicationCodeConfigurationProperty.Builder codeContent(CfnApplicationV2.CodeContentProperty codeContent) Sets the value ofCfnApplicationV2.ApplicationCodeConfigurationProperty.getCodeContent()
- Parameters:
codeContent
- The location and type of the application code. This parameter is required.- Returns:
this
-
codeContentType
@Stability(Stable) public CfnApplicationV2.ApplicationCodeConfigurationProperty.Builder codeContentType(String codeContentType) - 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<CfnApplicationV2.ApplicationCodeConfigurationProperty>
- Returns:
- a new instance of
CfnApplicationV2.ApplicationCodeConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-