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.description(String description) Sets the value ofCfnApplicationVersionMixinProps.getDescription()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
-
description
Sets the value ofCfnApplicationVersionMixinProps.getDescription()- Parameters:
description- A description of this application version.- 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
-