Class CfnApplicationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codedeploy.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()applicationName(IFunctionRef applicationName) Sets the value ofCfnApplicationMixinProps.getApplicationName()build()Builds the configured instance.computePlatform(String computePlatform) Sets the value ofCfnApplicationMixinProps.getComputePlatform()Sets the value ofCfnApplicationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationName
Sets the value ofCfnApplicationMixinProps.getApplicationName()- Parameters:
applicationName- A name for the application. If you don't specify a name, CloudFormation generates a unique physical ID and uses that ID for the application name. For more information, see Name Type .Updates to
ApplicationNameare not supported.- Returns:
this
-
applicationName
@Stability(Stable) public CfnApplicationMixinProps.Builder applicationName(IFunctionRef applicationName) Sets the value ofCfnApplicationMixinProps.getApplicationName()- Parameters:
applicationName- A name for the application. If you don't specify a name, CloudFormation generates a unique physical ID and uses that ID for the application name. For more information, see Name Type .Updates to
ApplicationNameare not supported.- Returns:
this
-
computePlatform
Sets the value ofCfnApplicationMixinProps.getComputePlatform()- Parameters:
computePlatform- The compute platform that CodeDeploy deploys the application to.- Returns:
this
-
tags
Sets the value ofCfnApplicationMixinProps.getTags()- Parameters:
tags- The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.- 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
-