Class AttributeKey
- java.lang.Object
-
- software.amazon.awssdk.services.clouddirectory.model.AttributeKey
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AttributeKey.Builder,AttributeKey>
@Generated("software.amazon.awssdk:codegen") public final class AttributeKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AttributeKey.Builder,AttributeKey>
A unique identifier for an attribute.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAttributeKey.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeKey.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfacetName()The name of the facet that the attribute exists within.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the attribute.StringschemaArn()The Amazon Resource Name (ARN) of the schema that contains the facet and attribute.List<SdkField<?>>sdkFields()static Class<? extends AttributeKey.Builder>serializableBuilderClass()AttributeKey.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
schemaArn
public final String schemaArn()
The Amazon Resource Name (ARN) of the schema that contains the facet and attribute.
- Returns:
- The Amazon Resource Name (ARN) of the schema that contains the facet and attribute.
-
facetName
public final String facetName()
The name of the facet that the attribute exists within.
- Returns:
- The name of the facet that the attribute exists within.
-
name
public final String name()
The name of the attribute.
- Returns:
- The name of the attribute.
-
toBuilder
public AttributeKey.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AttributeKey.Builder,AttributeKey>
-
builder
public static AttributeKey.Builder builder()
-
serializableBuilderClass
public static Class<? extends AttributeKey.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.
-
-