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