Class CfnApplicationProps.Builder
java.lang.Object
software.amazon.awscdk.services.elasticbeanstalk.CfnApplicationProps.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnApplicationProps>
- Enclosing interface:
 - CfnApplicationProps
 
@Stability(Stable)
public static final class CfnApplicationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationProps>
A builder for 
CfnApplicationProps- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) Sets the value ofCfnApplicationProps.getApplicationName()build()Builds the configured instance.description(String description) Sets the value ofCfnApplicationProps.getDescription()resourceLifecycleConfig(IResolvable resourceLifecycleConfig) Sets the value ofCfnApplicationProps.getResourceLifecycleConfig()resourceLifecycleConfig(CfnApplication.ApplicationResourceLifecycleConfigProperty resourceLifecycleConfig) Sets the value ofCfnApplicationProps.getResourceLifecycleConfig() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
applicationName
Sets the value ofCfnApplicationProps.getApplicationName()- Parameters:
 applicationName- A name for the Elastic Beanstalk application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name. For more information, see Name Type .If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
- Returns:
 this
 - 
description
Sets the value ofCfnApplicationProps.getDescription()- Parameters:
 description- Your description of the application.- Returns:
 this
 - 
resourceLifecycleConfig
@Stability(Stable) public CfnApplicationProps.Builder resourceLifecycleConfig(CfnApplication.ApplicationResourceLifecycleConfigProperty resourceLifecycleConfig) Sets the value ofCfnApplicationProps.getResourceLifecycleConfig()- Parameters:
 resourceLifecycleConfig- Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.- Returns:
 this
 - 
resourceLifecycleConfig
@Stability(Stable) public CfnApplicationProps.Builder resourceLifecycleConfig(IResolvable resourceLifecycleConfig) Sets the value ofCfnApplicationProps.getResourceLifecycleConfig()- Parameters:
 resourceLifecycleConfig- Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationProps>- Returns:
 - a new instance of 
CfnApplicationProps - Throws:
 NullPointerException- if any required attribute was not provided
 
 -