@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FacetAttribute extends Object implements Serializable, Cloneable, StructuredPojo
An attribute that is associated with the Facet.
Constructor and Description |
---|
FacetAttribute() |
Modifier and Type | Method and Description |
---|---|
FacetAttribute |
clone() |
boolean |
equals(Object obj) |
FacetAttributeDefinition |
getAttributeDefinition()
A facet attribute consists of either a definition or a reference.
|
FacetAttributeReference |
getAttributeReference()
An attribute reference that is associated with the attribute.
|
String |
getName()
The name of the facet attribute.
|
String |
getRequiredBehavior()
The required behavior of the
FacetAttribute . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeDefinition(FacetAttributeDefinition attributeDefinition)
A facet attribute consists of either a definition or a reference.
|
void |
setAttributeReference(FacetAttributeReference attributeReference)
An attribute reference that is associated with the attribute.
|
void |
setName(String name)
The name of the facet attribute.
|
void |
setRequiredBehavior(RequiredAttributeBehavior requiredBehavior)
The required behavior of the
FacetAttribute . |
void |
setRequiredBehavior(String requiredBehavior)
The required behavior of the
FacetAttribute . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FacetAttribute |
withAttributeDefinition(FacetAttributeDefinition attributeDefinition)
A facet attribute consists of either a definition or a reference.
|
FacetAttribute |
withAttributeReference(FacetAttributeReference attributeReference)
An attribute reference that is associated with the attribute.
|
FacetAttribute |
withName(String name)
The name of the facet attribute.
|
FacetAttribute |
withRequiredBehavior(RequiredAttributeBehavior requiredBehavior)
The required behavior of the
FacetAttribute . |
FacetAttribute |
withRequiredBehavior(String requiredBehavior)
The required behavior of the
FacetAttribute . |
public void setName(String name)
The name of the facet attribute.
name
- The name of the facet attribute.public String getName()
The name of the facet attribute.
public FacetAttribute withName(String name)
The name of the facet attribute.
name
- The name of the facet attribute.public void setAttributeDefinition(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.
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 FacetAttributeDefinition getAttributeDefinition()
A facet attribute consists of either a definition or a reference. This structure contains the attribute definition. See Attribute References for more information.
public FacetAttribute withAttributeDefinition(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.
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 void setAttributeReference(FacetAttributeReference attributeReference)
An attribute reference that is associated with the attribute. See Attribute References for more information.
attributeReference
- An attribute reference that is associated with the attribute. See Attribute References for more information.public FacetAttributeReference getAttributeReference()
An attribute reference that is associated with the attribute. See Attribute References for more information.
public FacetAttribute withAttributeReference(FacetAttributeReference attributeReference)
An attribute reference that is associated with the attribute. See Attribute References for more information.
attributeReference
- An attribute reference that is associated with the attribute. See Attribute References for more information.public void setRequiredBehavior(String requiredBehavior)
The required behavior of the FacetAttribute
.
requiredBehavior
- The required behavior of the FacetAttribute
.RequiredAttributeBehavior
public String getRequiredBehavior()
The required behavior of the FacetAttribute
.
FacetAttribute
.RequiredAttributeBehavior
public FacetAttribute withRequiredBehavior(String requiredBehavior)
The required behavior of the FacetAttribute
.
requiredBehavior
- The required behavior of the FacetAttribute
.RequiredAttributeBehavior
public void setRequiredBehavior(RequiredAttributeBehavior requiredBehavior)
The required behavior of the FacetAttribute
.
requiredBehavior
- The required behavior of the FacetAttribute
.RequiredAttributeBehavior
public FacetAttribute withRequiredBehavior(RequiredAttributeBehavior requiredBehavior)
The required behavior of the FacetAttribute
.
requiredBehavior
- The required behavior of the FacetAttribute
.RequiredAttributeBehavior
public String toString()
toString
in class Object
Object.toString()
public FacetAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.