Class CfnDeploymentGroup.EC2TagSetProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.EC2TagSetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentGroup.EC2TagSetProperty>
- Enclosing interface:
CfnDeploymentGroup.EC2TagSetProperty
@Stability(Stable)
public static final class CfnDeploymentGroup.EC2TagSetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentGroup.EC2TagSetProperty>
A builder for
CfnDeploymentGroup.EC2TagSetProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ec2TagSetList
(List<? extends Object> ec2TagSetList) Sets the value ofCfnDeploymentGroup.EC2TagSetProperty.getEc2TagSetList()
ec2TagSetList
(IResolvable ec2TagSetList) Sets the value ofCfnDeploymentGroup.EC2TagSetProperty.getEc2TagSetList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ec2TagSetList
@Stability(Stable) public CfnDeploymentGroup.EC2TagSetProperty.Builder ec2TagSetList(IResolvable ec2TagSetList) Sets the value ofCfnDeploymentGroup.EC2TagSetProperty.getEc2TagSetList()
- Parameters:
ec2TagSetList
- The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group. CodeDeploy includes all Amazon EC2 instances identified by any of the tags you specify in this deployment group.Duplicates are not allowed.
- Returns:
this
-
ec2TagSetList
@Stability(Stable) public CfnDeploymentGroup.EC2TagSetProperty.Builder ec2TagSetList(List<? extends Object> ec2TagSetList) Sets the value ofCfnDeploymentGroup.EC2TagSetProperty.getEc2TagSetList()
- Parameters:
ec2TagSetList
- The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group. CodeDeploy includes all Amazon EC2 instances identified by any of the tags you specify in this deployment group.Duplicates are not allowed.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeploymentGroup.EC2TagSetProperty>
- Returns:
- a new instance of
CfnDeploymentGroup.EC2TagSetProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-