Class CfnApplicationVersionProps.Builder
java.lang.Object
software.amazon.awscdk.services.elasticbeanstalk.CfnApplicationVersionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationVersionProps>
- Enclosing interface:
CfnApplicationVersionProps
@Stability(Stable)
public static final class CfnApplicationVersionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationVersionProps>
A builder for
CfnApplicationVersionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) Sets the value ofCfnApplicationVersionProps.getApplicationName()applicationName(IApplicationRef applicationName) Sets the value ofCfnApplicationVersionProps.getApplicationName()build()Builds the configured instance.buildConfiguration(IResolvable buildConfiguration) Sets the value ofCfnApplicationVersionProps.getBuildConfiguration()buildConfiguration(CfnApplicationVersion.BuildConfigurationProperty buildConfiguration) Sets the value ofCfnApplicationVersionProps.getBuildConfiguration()description(String description) Sets the value ofCfnApplicationVersionProps.getDescription()imageConfiguration(IResolvable imageConfiguration) Sets the value ofCfnApplicationVersionProps.getImageConfiguration()imageConfiguration(CfnApplicationVersion.ImageConfigurationProperty imageConfiguration) Sets the value ofCfnApplicationVersionProps.getImageConfiguration()Sets the value ofCfnApplicationVersionProps.getProcess()process(IResolvable process) Sets the value ofCfnApplicationVersionProps.getProcess()sourceBundle(IResolvable sourceBundle) Sets the value ofCfnApplicationVersionProps.getSourceBundle()sourceBundle(CfnApplicationVersion.SourceBundleProperty sourceBundle) Sets the value ofCfnApplicationVersionProps.getSourceBundle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationName
@Stability(Stable) public CfnApplicationVersionProps.Builder applicationName(String applicationName) Sets the value ofCfnApplicationVersionProps.getApplicationName()- Parameters:
applicationName- The name of the Elastic Beanstalk application that is associated with this application version. This parameter is required.- Returns:
this
-
applicationName
@Stability(Stable) public CfnApplicationVersionProps.Builder applicationName(IApplicationRef applicationName) Sets the value ofCfnApplicationVersionProps.getApplicationName()- Parameters:
applicationName- The name of the Elastic Beanstalk application that is associated with this application version. This parameter is required.- Returns:
this
-
buildConfiguration
@Stability(Stable) public CfnApplicationVersionProps.Builder buildConfiguration(IResolvable buildConfiguration) Sets the value ofCfnApplicationVersionProps.getBuildConfiguration()- Parameters:
buildConfiguration- the value to be set.- Returns:
this
-
buildConfiguration
@Stability(Stable) public CfnApplicationVersionProps.Builder buildConfiguration(CfnApplicationVersion.BuildConfigurationProperty buildConfiguration) Sets the value ofCfnApplicationVersionProps.getBuildConfiguration()- Parameters:
buildConfiguration- the value to be set.- Returns:
this
-
description
Sets the value ofCfnApplicationVersionProps.getDescription()- Parameters:
description- A description of this application version.- Returns:
this
-
imageConfiguration
@Stability(Stable) public CfnApplicationVersionProps.Builder imageConfiguration(IResolvable imageConfiguration) Sets the value ofCfnApplicationVersionProps.getImageConfiguration()- Parameters:
imageConfiguration- the value to be set.- Returns:
this
-
imageConfiguration
@Stability(Stable) public CfnApplicationVersionProps.Builder imageConfiguration(CfnApplicationVersion.ImageConfigurationProperty imageConfiguration) Sets the value ofCfnApplicationVersionProps.getImageConfiguration()- Parameters:
imageConfiguration- the value to be set.- Returns:
this
-
process
Sets the value ofCfnApplicationVersionProps.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 ofCfnApplicationVersionProps.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
Sets the value ofCfnApplicationVersionProps.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 CfnApplicationVersionProps.Builder sourceBundle(CfnApplicationVersion.SourceBundleProperty sourceBundle) Sets the value ofCfnApplicationVersionProps.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<CfnApplicationVersionProps>- Returns:
- a new instance of
CfnApplicationVersionProps - Throws:
NullPointerException- if any required attribute was not provided
-