Class CfnApplicationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticbeanstalk.CfnApplicationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationMixinProps>
- Enclosing interface:
CfnApplicationMixinProps
@Stability(Stable)
public static final class CfnApplicationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationMixinProps>
A builder for
CfnApplicationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) Sets the value ofCfnApplicationMixinProps.getApplicationName()build()Builds the configured instance.description(String description) Sets the value ofCfnApplicationMixinProps.getDescription()resourceLifecycleConfig(CfnApplicationPropsMixin.ApplicationResourceLifecycleConfigProperty resourceLifecycleConfig) Sets the value ofCfnApplicationMixinProps.getResourceLifecycleConfig()resourceLifecycleConfig(IResolvable resourceLifecycleConfig) Sets the value ofCfnApplicationMixinProps.getResourceLifecycleConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationName
Sets the value ofCfnApplicationMixinProps.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 ofCfnApplicationMixinProps.getDescription()- Parameters:
description- Your description of the application.- Returns:
this
-
resourceLifecycleConfig
@Stability(Stable) public CfnApplicationMixinProps.Builder resourceLifecycleConfig(IResolvable resourceLifecycleConfig) Sets the value ofCfnApplicationMixinProps.getResourceLifecycleConfig()- Parameters:
resourceLifecycleConfig- Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.- Returns:
this
-
resourceLifecycleConfig
@Stability(Stable) public CfnApplicationMixinProps.Builder resourceLifecycleConfig(CfnApplicationPropsMixin.ApplicationResourceLifecycleConfigProperty resourceLifecycleConfig) Sets the value ofCfnApplicationMixinProps.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<CfnApplicationMixinProps>- Returns:
- a new instance of
CfnApplicationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-