@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.867Z") @Stability(value=Stable) public interface TagCondition extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.backup.*;
TagCondition tagCondition = TagCondition.builder()
.key("key")
.value("value")
// the properties below are optional
.operation(TagOperation.STRING_EQUALS)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
TagCondition.Builder
A builder for
TagCondition |
static class |
TagCondition.Jsii$Proxy
An implementation for
TagCondition |
| Modifier and Type | Method and Description |
|---|---|
static TagCondition.Builder |
builder() |
String |
getKey()
The key in a key-value pair.
|
default TagOperation |
getOperation()
An operation that is applied to a key-value pair used to filter resources in a selection.
|
String |
getValue()
The value in a key-value pair.
|
@Stability(value=Stable) @NotNull String getKey()
For example, in "ec2:ResourceTag/Department": "accounting",
ec2:ResourceTag/Department is the key.
@Stability(value=Stable) @NotNull String getValue()
For example, in "ec2:ResourceTag/Department": "accounting",
accounting is the value.
@Stability(value=Stable) @Nullable default TagOperation getOperation()
Default: STRING_EQUALS
@Stability(value=Stable) static TagCondition.Builder builder()
TagCondition.Builder of TagConditionCopyright © 2022. All rights reserved.