@Stability(value=Stable) public static final class CfnGroup.TagFilterProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnGroup.TagFilterProperty>
CfnGroup.TagFilterProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnGroup.TagFilterProperty |
build()
Builds the configured instance.
|
CfnGroup.TagFilterProperty.Builder |
key(String key)
Sets the value of
CfnGroup.TagFilterProperty.getKey() |
CfnGroup.TagFilterProperty.Builder |
values(List<String> values)
Sets the value of
CfnGroup.TagFilterProperty.getValues() |
@Stability(value=Stable) public CfnGroup.TagFilterProperty.Builder key(String key)
CfnGroup.TagFilterProperty.getKey()key - A string that defines a tag key.
Only resources in the account that are tagged with a specified tag key are members of the tag-based resource group.
This field is required when the ResourceQuery structure's Type property is TAG_FILTERS_1_0 . You must specify at least one tag key.
this@Stability(value=Stable) public CfnGroup.TagFilterProperty.Builder values(List<String> values)
CfnGroup.TagFilterProperty.getValues()values - A list of tag values that can be included in the tag-based resource group.
This is optional. If you don't specify a value or values for a key, then an AWS resource with any value for that key is a member.this@Stability(value=Stable) public CfnGroup.TagFilterProperty build()
build in interface software.amazon.jsii.Builder<CfnGroup.TagFilterProperty>CfnGroup.TagFilterPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.