@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDocumentVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDocumentVersionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDocumentVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<DocumentVersionMetadata> |
getDocumentVersions()
The document versions.
|
String |
getMarker()
The marker to use when requesting the next set of results.
|
int |
hashCode() |
void |
setDocumentVersions(Collection<DocumentVersionMetadata> documentVersions)
The document versions.
|
void |
setMarker(String marker)
The marker to use when requesting the next set of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeDocumentVersionsResult |
withDocumentVersions(Collection<DocumentVersionMetadata> documentVersions)
The document versions.
|
DescribeDocumentVersionsResult |
withDocumentVersions(DocumentVersionMetadata... documentVersions)
The document versions.
|
DescribeDocumentVersionsResult |
withMarker(String marker)
The marker to use when requesting the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DocumentVersionMetadata> getDocumentVersions()
The document versions.
public void setDocumentVersions(Collection<DocumentVersionMetadata> documentVersions)
The document versions.
documentVersions
- The document versions.public DescribeDocumentVersionsResult withDocumentVersions(DocumentVersionMetadata... documentVersions)
The document versions.
NOTE: This method appends the values to the existing list (if any). Use
setDocumentVersions(java.util.Collection)
or withDocumentVersions(java.util.Collection)
if you
want to override the existing values.
documentVersions
- The document versions.public DescribeDocumentVersionsResult withDocumentVersions(Collection<DocumentVersionMetadata> documentVersions)
The document versions.
documentVersions
- The document versions.public void setMarker(String marker)
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
marker
- The marker to use when requesting the next set of results. If there are no additional results, the string
is empty.public String getMarker()
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
public DescribeDocumentVersionsResult withMarker(String marker)
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
marker
- The marker to use when requesting the next set of results. If there are no additional results, the string
is empty.public String toString()
toString
in class Object
Object.toString()
public DescribeDocumentVersionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.