@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) |
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; useful for testing and debugging.
|
GetDocumentVersionResult |
withCustomMetadata(Map<String,String> customMetadata)
The custom metadata on the document version.
|
GetDocumentVersionResult |
withMetadata(DocumentVersionMetadata metadata)
The version metadata.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 Object
Object.toString()
public GetDocumentVersionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.