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