@Generated(value="software.amazon.awssdk:codegen") public final class ResourceTag extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceTag.Builder,ResourceTag>
The resource tags that AWS Firewall Manager uses to determine if a particular resource should be included or excluded from protection by the AWS Firewall Manager policy. Tags enable you to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define. Tags are combined with an "OR." That is, if you add more than one tag, if any of the tags matches, the resource is considered a match for the include or exclude. 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 String key()
The resource tag key.
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.