@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDocumentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| GetDocumentResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetDocumentResult | addCustomMetadataEntry(String key,
                      String value)Add a single CustomMetadata entry | 
| GetDocumentResult | clearCustomMetadataEntries()Removes all the entries added into CustomMetadata. | 
| GetDocumentResult | clone() | 
| boolean | equals(Object obj) | 
| Map<String,String> | getCustomMetadata()
 The custom metadata on the document. | 
| DocumentMetadata | getMetadata()
 The metadata details of the document. | 
| int | hashCode() | 
| void | setCustomMetadata(Map<String,String> customMetadata)
 The custom metadata on the document. | 
| void | setMetadata(DocumentMetadata metadata)
 The metadata details of the document. | 
| String | toString()Returns a string representation of this object. | 
| GetDocumentResult | withCustomMetadata(Map<String,String> customMetadata)
 The custom metadata on the document. | 
| GetDocumentResult | withMetadata(DocumentMetadata metadata)
 The metadata details of the document. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setMetadata(DocumentMetadata metadata)
The metadata details of the document.
metadata - The metadata details of the document.public DocumentMetadata getMetadata()
The metadata details of the document.
public GetDocumentResult withMetadata(DocumentMetadata metadata)
The metadata details of the document.
metadata - The metadata details of the document.public Map<String,String> getCustomMetadata()
The custom metadata on the document.
public void setCustomMetadata(Map<String,String> customMetadata)
The custom metadata on the document.
customMetadata - The custom metadata on the document.public GetDocumentResult withCustomMetadata(Map<String,String> customMetadata)
The custom metadata on the document.
customMetadata - The custom metadata on the document.public GetDocumentResult addCustomMetadataEntry(String key, String value)
public GetDocumentResult clearCustomMetadataEntries()
public String toString()
toString in class ObjectObject.toString()public GetDocumentResult clone()