Class CfnApplicationPropsMixin.DefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.m2.CfnApplicationPropsMixin.DefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.DefinitionProperty>
- Enclosing interface:
CfnApplicationPropsMixin.DefinitionProperty
@Stability(Stable)
public static final class CfnApplicationPropsMixin.DefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin.DefinitionProperty>
A builder for
CfnApplicationPropsMixin.DefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnApplicationPropsMixin.DefinitionProperty.getContent()s3Location(String s3Location) Sets the value ofCfnApplicationPropsMixin.DefinitionProperty.getS3Location()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
@Stability(Stable) public CfnApplicationPropsMixin.DefinitionProperty.Builder content(String content) Sets the value ofCfnApplicationPropsMixin.DefinitionProperty.getContent()- Parameters:
content- The content of the application definition. This is a JSON object that contains the resource configuration/definitions that identify an application.- Returns:
this
-
s3Location
@Stability(Stable) public CfnApplicationPropsMixin.DefinitionProperty.Builder s3Location(String s3Location) Sets the value ofCfnApplicationPropsMixin.DefinitionProperty.getS3Location()- Parameters:
s3Location- The S3 bucket that contains the application definition.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.DefinitionProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.DefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-