@Generated(value="software.amazon.awssdk:codegen") public final class ResourceTag extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceTag.Builder,ResourceTag>
The resource tags that Firewall Manager uses to determine if a particular resource should be included or excluded from the Firewall Manager policy. Tags enable you to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value. Firewall Manager combines the tags with "AND" so that, if you add more than one tag to a policy scope, a resource must have all the specified tags to be included or excluded. For more information, see Working with Tag Editor.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceTag.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceTag.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The resource tag key.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceTag.Builder> |
serializableBuilderClass() |
ResourceTag.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The resource tag value.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String key()
The resource tag key.
public final String value()
The resource tag value.
public ResourceTag.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourceTag.Builder,ResourceTag>public static ResourceTag.Builder builder()
public static Class<? extends ResourceTag.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.