@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentAttribute extends Object implements Serializable, Cloneable, StructuredPojo
A document attribute or metadata field.
| Constructor and Description |
|---|
DocumentAttribute() |
| Modifier and Type | Method and Description |
|---|---|
DocumentAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The identifier for the attribute.
|
DocumentAttributeValue |
getValue()
The value of the attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The identifier for the attribute.
|
void |
setValue(DocumentAttributeValue value)
The value of the attribute.
|
String |
toString()
Returns a string representation of this object.
|
DocumentAttribute |
withName(String name)
The identifier for the attribute.
|
DocumentAttribute |
withValue(DocumentAttributeValue value)
The value of the attribute.
|
public void setName(String name)
The identifier for the attribute.
name - The identifier for the attribute.public String getName()
The identifier for the attribute.
public DocumentAttribute withName(String name)
The identifier for the attribute.
name - The identifier for the attribute.public void setValue(DocumentAttributeValue value)
The value of the attribute.
value - The value of the attribute.public DocumentAttributeValue getValue()
The value of the attribute.
public DocumentAttribute withValue(DocumentAttributeValue value)
The value of the attribute.
value - The value of the attribute.public String toString()
toString in class ObjectObject.toString()public DocumentAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.