Class CfnDeploymentGroup.EC2TagSetListObjectProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.EC2TagSetListObjectProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentGroup.EC2TagSetListObjectProperty>
- Enclosing interface:
CfnDeploymentGroup.EC2TagSetListObjectProperty
@Stability(Stable)
public static final class CfnDeploymentGroup.EC2TagSetListObjectProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentGroup.EC2TagSetListObjectProperty>
A builder for
CfnDeploymentGroup.EC2TagSetListObjectProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ec2TagGroup
(List<? extends Object> ec2TagGroup) Sets the value ofCfnDeploymentGroup.EC2TagSetListObjectProperty.getEc2TagGroup()
ec2TagGroup
(IResolvable ec2TagGroup) Sets the value ofCfnDeploymentGroup.EC2TagSetListObjectProperty.getEc2TagGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ec2TagGroup
@Stability(Stable) public CfnDeploymentGroup.EC2TagSetListObjectProperty.Builder ec2TagGroup(IResolvable ec2TagGroup) Sets the value ofCfnDeploymentGroup.EC2TagSetListObjectProperty.getEc2TagGroup()
- Parameters:
ec2TagGroup
- A list that contains other lists of Amazon EC2 instance tag groups. For an instance to be included in the deployment group, it must be identified by all of the tag groups in the list.- Returns:
this
-
ec2TagGroup
@Stability(Stable) public CfnDeploymentGroup.EC2TagSetListObjectProperty.Builder ec2TagGroup(List<? extends Object> ec2TagGroup) Sets the value ofCfnDeploymentGroup.EC2TagSetListObjectProperty.getEc2TagGroup()
- Parameters:
ec2TagGroup
- A list that contains other lists of Amazon EC2 instance tag groups. For an instance to be included in the deployment group, it must be identified by all of the tag groups in the list.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeploymentGroup.EC2TagSetListObjectProperty>
- Returns:
- a new instance of
CfnDeploymentGroup.EC2TagSetListObjectProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-