Class CfnApplicationVersion.ImageConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticbeanstalk.CfnApplicationVersion.ImageConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationVersion.ImageConfigurationProperty>
- Enclosing interface:
CfnApplicationVersion.ImageConfigurationProperty
@Stability(Stable)
public static final class CfnApplicationVersion.ImageConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationVersion.ImageConfigurationProperty>
A builder for
CfnApplicationVersion.ImageConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.buildProperty(IResolvable buildProperty) Sets the value ofCfnApplicationVersion.ImageConfigurationProperty.getBuildProperty()Sets the value ofCfnApplicationVersion.ImageConfigurationProperty.getBuildProperty()source(IResolvable source) Sets the value ofCfnApplicationVersion.ImageConfigurationProperty.getSource()Sets the value ofCfnApplicationVersion.ImageConfigurationProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
buildProperty
@Stability(Stable) public CfnApplicationVersion.ImageConfigurationProperty.Builder buildProperty(IResolvable buildProperty) Sets the value ofCfnApplicationVersion.ImageConfigurationProperty.getBuildProperty()- Parameters:
buildProperty- the value to be set.- Returns:
this
-
buildProperty
@Stability(Stable) public CfnApplicationVersion.ImageConfigurationProperty.Builder buildProperty(CfnApplicationVersion.ImageBuildConfigurationProperty buildProperty) Sets the value ofCfnApplicationVersion.ImageConfigurationProperty.getBuildProperty()- Parameters:
buildProperty- the value to be set.- Returns:
this
-
source
@Stability(Stable) public CfnApplicationVersion.ImageConfigurationProperty.Builder source(IResolvable source) Sets the value ofCfnApplicationVersion.ImageConfigurationProperty.getSource()- Parameters:
source- the value to be set.- Returns:
this
-
source
@Stability(Stable) public CfnApplicationVersion.ImageConfigurationProperty.Builder source(CfnApplicationVersion.ImageSourceProperty source) Sets the value ofCfnApplicationVersion.ImageConfigurationProperty.getSource()- Parameters:
source- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationVersion.ImageConfigurationProperty>- Returns:
- a new instance of
CfnApplicationVersion.ImageConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-