Class TagSet
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.TagSet
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TagSet.Builder,TagSet>
@Generated("software.amazon.awssdk:codegen") public final class TagSet extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TagSet.Builder,TagSet>
A tag set contains tag key and tag value.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTagSet.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TagSet.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()The tag key in the tagSet.List<SdkField<?>>sdkFields()static Class<? extends TagSet.Builder>serializableBuilderClass()TagSet.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The tag value in the tagSet.-
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 tag key in the tagSet.
- Returns:
- The tag key in the tagSet.
-
value
public final String value()
The tag value in the tagSet.
- Returns:
- The tag value in the tagSet.
-
toBuilder
public TagSet.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TagSet.Builder,TagSet>
-
builder
public static TagSet.Builder builder()
-
serializableBuilderClass
public static Class<? extends TagSet.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.
-
-