public static final class CfnDeploymentGroup.EC2TagFilterProperty.Builder
extends java.lang.Object
CfnDeploymentGroup.EC2TagFilterProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDeploymentGroup.EC2TagFilterProperty |
build()
Builds the configured instance.
|
CfnDeploymentGroup.EC2TagFilterProperty.Builder |
key(java.lang.String key)
Sets the value of
CfnDeploymentGroup.EC2TagFilterProperty.getKey() |
CfnDeploymentGroup.EC2TagFilterProperty.Builder |
type(java.lang.String type)
Sets the value of
CfnDeploymentGroup.EC2TagFilterProperty.getType() |
CfnDeploymentGroup.EC2TagFilterProperty.Builder |
value(java.lang.String value)
Sets the value of
CfnDeploymentGroup.EC2TagFilterProperty.getValue() |
public CfnDeploymentGroup.EC2TagFilterProperty.Builder key(java.lang.String key)
CfnDeploymentGroup.EC2TagFilterProperty.getKey()
key
- The tag filter key.this
public CfnDeploymentGroup.EC2TagFilterProperty.Builder type(java.lang.String type)
CfnDeploymentGroup.EC2TagFilterProperty.getType()
type
- The tag filter type:.
KEY_ONLY
: Key only.VALUE_ONLY
: Value only.KEY_AND_VALUE
: Key and value.this
public CfnDeploymentGroup.EC2TagFilterProperty.Builder value(java.lang.String value)
CfnDeploymentGroup.EC2TagFilterProperty.getValue()
value
- The tag filter value.this
public CfnDeploymentGroup.EC2TagFilterProperty build()
CfnDeploymentGroup.EC2TagFilterProperty
java.lang.NullPointerException
- if any required attribute was not provided