@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FacetAttribute extends Object implements Serializable, Cloneable
Attribute 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()
Attribute reference associated with the attribute.
|
String |
getName()
The name of the facet attribute.
|
String |
getRequiredBehavior()
The required behavior of the FacetAttribute.
|
int |
hashCode() |
void |
setAttributeDefinition(FacetAttributeDefinition attributeDefinition)
A facet attribute consists of either a definition or a reference.
|
void |
setAttributeReference(FacetAttributeReference attributeReference)
Attribute reference 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)
Attribute reference 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)
Attribute reference associated with the attribute. See Attribute References for more information.
attributeReference
- Attribute reference associated with the attribute. See Attribute References for more information.public FacetAttributeReference getAttributeReference()
Attribute reference associated with the attribute. See Attribute References for more information.
public FacetAttribute withAttributeReference(FacetAttributeReference attributeReference)
Attribute reference associated with the attribute. See Attribute References for more information.
attributeReference
- Attribute reference 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.
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.