@Generated(value="software.amazon.awssdk:codegen") public class FacetAttribute extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the facet attribute.
|
RequiredAttributeBehavior |
requiredBehavior()
The required behavior of the
FacetAttribute . |
String |
requiredBehaviorString()
The required behavior of the
FacetAttribute . |
static Class<? extends FacetAttribute.Builder> |
serializableBuilderClass() |
FacetAttribute.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The name of the facet attribute.
public 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 FacetAttributeReference attributeReference()
An attribute reference that is associated with the attribute. See Attribute References for more information.
public 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 requiredBehaviorString()
.
FacetAttribute
.RequiredAttributeBehavior
public String requiredBehaviorString()
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 requiredBehaviorString()
.
FacetAttribute
.RequiredAttributeBehavior
public FacetAttribute.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FacetAttribute.Builder,FacetAttribute>
public static FacetAttribute.Builder builder()
public static Class<? extends FacetAttribute.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.