@Stability(value=Stable) public static final class TagCondition.Builder extends Object implements software.amazon.jsii.Builder<TagCondition>
TagCondition| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TagCondition |
build()
Builds the configured instance.
|
TagCondition.Builder |
key(String key)
Sets the value of
TagCondition.getKey() |
TagCondition.Builder |
operation(TagOperation operation)
Sets the value of
TagCondition.getOperation() |
TagCondition.Builder |
value(String value)
Sets the value of
TagCondition.getValue() |
@Stability(value=Stable) public TagCondition.Builder key(String key)
TagCondition.getKey()key - The key in a key-value pair. This parameter is required.
For example, in "ec2:ResourceTag/Department": "accounting",
ec2:ResourceTag/Department is the key.this@Stability(value=Stable) public TagCondition.Builder value(String value)
TagCondition.getValue()value - The value in a key-value pair. This parameter is required.
For example, in "ec2:ResourceTag/Department": "accounting",
accounting is the value.this@Stability(value=Stable) public TagCondition.Builder operation(TagOperation operation)
TagCondition.getOperation()operation - An operation that is applied to a key-value pair used to filter resources in a selection.this@Stability(value=Stable) public TagCondition build()
build in interface software.amazon.jsii.Builder<TagCondition>TagConditionNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.