@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FacetAttribute.Builder |
| Modifier and Type | Method and Description |
|---|---|
FacetAttributeDefinition |
attributeDefinition()
A facet attribute consists of either a definition or a reference.
|
FacetAttributeReference |
attributeReference()
An attribute reference that is associated with the attribute.
|
static FacetAttribute.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the facet attribute.
|
RequiredAttributeBehavior |
requiredBehavior()
The required behavior of the
FacetAttribute. |
String |
requiredBehaviorAsString()
The required behavior of the
FacetAttribute. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FacetAttribute.Builder> |
serializableBuilderClass() |
FacetAttribute.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the facet attribute.
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.
public final FacetAttributeReference attributeReference()
An attribute reference that is associated with the attribute. See Attribute References for more information.
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, requiredBehavior
will return RequiredAttributeBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from requiredBehaviorAsString().
FacetAttribute.RequiredAttributeBehaviorpublic 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, requiredBehavior
will return RequiredAttributeBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from requiredBehaviorAsString().
FacetAttribute.RequiredAttributeBehaviorpublic FacetAttribute.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FacetAttribute.Builder,FacetAttribute>public static FacetAttribute.Builder builder()
public static Class<? extends FacetAttribute.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.