Class TagCriterionPairForJob
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.TagCriterionPairForJob
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TagCriterionPairForJob.Builder,TagCriterionPairForJob>
@Generated("software.amazon.awssdk:codegen") public final class TagCriterionPairForJob extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TagCriterionPairForJob.Builder,TagCriterionPairForJob>
Specifies a tag key, a tag value, or a tag key and value (as a pair) to use in a tag-based condition that determines whether an S3 bucket is included or excluded from a classification job. Tag keys and values are case sensitive. Also, Amazon Macie doesn't support use of partial values or wildcard characters in tag-based conditions.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTagCriterionPairForJob.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TagCriterionPairForJob.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()The value for the tag key to use in the condition.List<SdkField<?>>sdkFields()static Class<? extends TagCriterionPairForJob.Builder>serializableBuilderClass()TagCriterionPairForJob.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The tag value to use in the condition.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
key
public final String key()
The value for the tag key to use in the condition.
- Returns:
- The value for the tag key to use in the condition.
-
value
public final String value()
The tag value to use in the condition.
- Returns:
- The tag value to use in the condition.
-
toBuilder
public TagCriterionPairForJob.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TagCriterionPairForJob.Builder,TagCriterionPairForJob>
-
builder
public static TagCriterionPairForJob.Builder builder()
-
serializableBuilderClass
public static Class<? extends TagCriterionPairForJob.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-