Class CfnDeploymentGroup.EC2TagFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.EC2TagFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentGroup.EC2TagFilterProperty>
- Enclosing interface:
CfnDeploymentGroup.EC2TagFilterProperty
@Stability(Stable)
public static final class CfnDeploymentGroup.EC2TagFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentGroup.EC2TagFilterProperty>
A builder for
CfnDeploymentGroup.EC2TagFilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDeploymentGroup.EC2TagFilterProperty.getKey()Sets the value ofCfnDeploymentGroup.EC2TagFilterProperty.getType()Sets the value ofCfnDeploymentGroup.EC2TagFilterProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnDeploymentGroup.EC2TagFilterProperty.getKey()- Parameters:
key- The tag filter key.- Returns:
this
-
type
Sets the value ofCfnDeploymentGroup.EC2TagFilterProperty.getType()- Parameters:
type- The tag filter type:.KEY_ONLY: Key only.VALUE_ONLY: Value only.KEY_AND_VALUE: Key and value.
- Returns:
this
-
value
Sets the value ofCfnDeploymentGroup.EC2TagFilterProperty.getValue()- Parameters:
value- The tag filter value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentGroup.EC2TagFilterProperty>- Returns:
- a new instance of
CfnDeploymentGroup.EC2TagFilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-