Class CfnApplicationProps.Builder
java.lang.Object
software.amazon.awscdk.services.codedeploy.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
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) Sets the value ofCfnApplicationProps.getApplicationName()
build()
Builds the configured instance.computePlatform
(String computePlatform) Sets the value ofCfnApplicationProps.getComputePlatform()
Sets the value ofCfnApplicationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationName
Sets the value ofCfnApplicationProps.getApplicationName()
- Parameters:
applicationName
- A name for the 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 .Updates to
ApplicationName
are not supported.- Returns:
this
-
computePlatform
Sets the value ofCfnApplicationProps.getComputePlatform()
- Parameters:
computePlatform
- The compute platform that CodeDeploy deploys the application to.- Returns:
this
-
tags
Sets the value ofCfnApplicationProps.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationProps>
- Returns:
- a new instance of
CfnApplicationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-