Class FacetAttribute
- java.lang.Object
-
- software.amazon.awssdk.services.clouddirectory.model.FacetAttribute
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FacetAttribute.Builder,FacetAttribute>
@Generated("software.amazon.awssdk:codegen") public final class FacetAttribute extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FacetAttribute.Builder,FacetAttribute>
An attribute that is associated with the Facet.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFacetAttribute.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FacetAttributeDefinitionattributeDefinition()A facet attribute consists of either a definition or a reference.FacetAttributeReferenceattributeReference()An attribute reference that is associated with the attribute.static FacetAttribute.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the facet attribute.RequiredAttributeBehaviorrequiredBehavior()The required behavior of theFacetAttribute.StringrequiredBehaviorAsString()The required behavior of theFacetAttribute.List<SdkField<?>>sdkFields()static Class<? extends FacetAttribute.Builder>serializableBuilderClass()FacetAttribute.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
-
name
public final String name()
The name of the facet attribute.
- Returns:
- The name of the facet attribute.
-
attributeDefinition
public final FacetAttributeDefinition attributeDefinition()
A facet attribute consists of either a definition or a reference. This structure contains the attribute definition. See Attribute References for more information.
- Returns:
- A facet attribute consists of either a definition or a reference. This structure contains the attribute definition. See Attribute References for more information.
-
attributeReference
public final FacetAttributeReference attributeReference()
An attribute reference that is associated with the attribute. See Attribute References for more information.
- Returns:
- An attribute reference that is associated with the attribute. See Attribute References for more information.
-
requiredBehavior
public final RequiredAttributeBehavior requiredBehavior()
The required behavior of the
FacetAttribute.If the service returns an enum value that is not available in the current SDK version,
requiredBehaviorwill returnRequiredAttributeBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrequiredBehaviorAsString().- Returns:
- The required behavior of the
FacetAttribute. - See Also:
RequiredAttributeBehavior
-
requiredBehaviorAsString
public final String requiredBehaviorAsString()
The required behavior of the
FacetAttribute.If the service returns an enum value that is not available in the current SDK version,
requiredBehaviorwill returnRequiredAttributeBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrequiredBehaviorAsString().- Returns:
- The required behavior of the
FacetAttribute. - See Also:
RequiredAttributeBehavior
-
toBuilder
public FacetAttribute.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FacetAttribute.Builder,FacetAttribute>
-
builder
public static FacetAttribute.Builder builder()
-
serializableBuilderClass
public static Class<? extends FacetAttribute.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.
-
-