Class CfnApplicationVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticbeanstalk.CfnApplicationVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationVersionMixinProps>
- Enclosing interface:
CfnApplicationVersionMixinProps
@Stability(Stable)
public static final class CfnApplicationVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationVersionMixinProps>
A builder for
CfnApplicationVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) Sets the value ofCfnApplicationVersionMixinProps.getApplicationName()applicationName(IApplicationRef applicationName) Sets the value ofCfnApplicationVersionMixinProps.getApplicationName()build()Builds the configured instance.buildConfiguration(CfnApplicationVersionPropsMixin.BuildConfigurationProperty buildConfiguration) Sets the value ofCfnApplicationVersionMixinProps.getBuildConfiguration()buildConfiguration(IResolvable buildConfiguration) Sets the value ofCfnApplicationVersionMixinProps.getBuildConfiguration()description(String description) Sets the value ofCfnApplicationVersionMixinProps.getDescription()imageConfiguration(CfnApplicationVersionPropsMixin.ImageConfigurationProperty imageConfiguration) Sets the value ofCfnApplicationVersionMixinProps.getImageConfiguration()imageConfiguration(IResolvable imageConfiguration) Sets the value ofCfnApplicationVersionMixinProps.getImageConfiguration()Sets the value ofCfnApplicationVersionMixinProps.getProcess()process(IResolvable process) Sets the value ofCfnApplicationVersionMixinProps.getProcess()Sets the value ofCfnApplicationVersionMixinProps.getSourceBundle()sourceBundle(IResolvable sourceBundle) Sets the value ofCfnApplicationVersionMixinProps.getSourceBundle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationName
@Stability(Stable) public CfnApplicationVersionMixinProps.Builder applicationName(String applicationName) Sets the value ofCfnApplicationVersionMixinProps.getApplicationName()- Parameters:
applicationName- The name of the Elastic Beanstalk application that is associated with this application version.- Returns:
this
-
applicationName
@Stability(Stable) public CfnApplicationVersionMixinProps.Builder applicationName(IApplicationRef applicationName) Sets the value ofCfnApplicationVersionMixinProps.getApplicationName()- Parameters:
applicationName- The name of the Elastic Beanstalk application that is associated with this application version.- Returns:
this
-
buildConfiguration
@Stability(Stable) public CfnApplicationVersionMixinProps.Builder buildConfiguration(IResolvable buildConfiguration) Sets the value ofCfnApplicationVersionMixinProps.getBuildConfiguration()- Parameters:
buildConfiguration- the value to be set.- Returns:
this
-
buildConfiguration
@Stability(Stable) public CfnApplicationVersionMixinProps.Builder buildConfiguration(CfnApplicationVersionPropsMixin.BuildConfigurationProperty buildConfiguration) Sets the value ofCfnApplicationVersionMixinProps.getBuildConfiguration()- Parameters:
buildConfiguration- the value to be set.- Returns:
this
-
description
Sets the value ofCfnApplicationVersionMixinProps.getDescription()- Parameters:
description- A description of this application version.- Returns:
this
-
imageConfiguration
@Stability(Stable) public CfnApplicationVersionMixinProps.Builder imageConfiguration(IResolvable imageConfiguration) Sets the value ofCfnApplicationVersionMixinProps.getImageConfiguration()- Parameters:
imageConfiguration- the value to be set.- Returns:
this
-
imageConfiguration
@Stability(Stable) public CfnApplicationVersionMixinProps.Builder imageConfiguration(CfnApplicationVersionPropsMixin.ImageConfigurationProperty imageConfiguration) Sets the value ofCfnApplicationVersionMixinProps.getImageConfiguration()- Parameters:
imageConfiguration- the value to be set.- Returns:
this
-
process
Sets the value ofCfnApplicationVersionMixinProps.getProcess()- Parameters:
process- Pre-process and validate the environment manifest (env.yaml) and configuration files in the source bundle. Leave unset for the service default.- Returns:
this
-
process
Sets the value ofCfnApplicationVersionMixinProps.getProcess()- Parameters:
process- Pre-process and validate the environment manifest (env.yaml) and configuration files in the source bundle. Leave unset for the service default.- Returns:
this
-
sourceBundle
@Stability(Stable) public CfnApplicationVersionMixinProps.Builder sourceBundle(IResolvable sourceBundle) Sets the value ofCfnApplicationVersionMixinProps.getSourceBundle()- Parameters:
sourceBundle- The Amazon S3 bucket and key that identify the location of the source bundle for this version.The Amazon S3 bucket must be in the same region as the environment.
- Returns:
this
-
sourceBundle
@Stability(Stable) public CfnApplicationVersionMixinProps.Builder sourceBundle(CfnApplicationVersionPropsMixin.SourceBundleProperty sourceBundle) Sets the value ofCfnApplicationVersionMixinProps.getSourceBundle()- Parameters:
sourceBundle- The Amazon S3 bucket and key that identify the location of the source bundle for this version.The Amazon S3 bucket must be in the same region as the environment.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationVersionMixinProps>- Returns:
- a new instance of
CfnApplicationVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-