@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDocumentVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetDocumentVersionRequest() |
Modifier and Type | Method and Description |
---|---|
GetDocumentVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthenticationToken()
Amazon WorkDocs authentication token.
|
String |
getDocumentId()
The ID of the document.
|
String |
getFields()
A comma-separated list of values.
|
Boolean |
getIncludeCustomMetadata()
Set this to TRUE to include custom metadata in the response.
|
String |
getVersionId()
The version ID of the document.
|
int |
hashCode() |
Boolean |
isIncludeCustomMetadata()
Set this to TRUE to include custom metadata in the response.
|
void |
setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
void |
setDocumentId(String documentId)
The ID of the document.
|
void |
setFields(String fields)
A comma-separated list of values.
|
void |
setIncludeCustomMetadata(Boolean includeCustomMetadata)
Set this to TRUE to include custom metadata in the response.
|
void |
setVersionId(String versionId)
The version ID of the document.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetDocumentVersionRequest |
withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
GetDocumentVersionRequest |
withDocumentId(String documentId)
The ID of the document.
|
GetDocumentVersionRequest |
withFields(String fields)
A comma-separated list of values.
|
GetDocumentVersionRequest |
withIncludeCustomMetadata(Boolean includeCustomMetadata)
Set this to TRUE to include custom metadata in the response.
|
GetDocumentVersionRequest |
withVersionId(String versionId)
The version ID of the document.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.
authenticationToken
- Amazon WorkDocs authentication token. This field should not be set when using administrative API actions,
as in accessing the API using AWS credentials.public String getAuthenticationToken()
Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.
public GetDocumentVersionRequest withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.
authenticationToken
- Amazon WorkDocs authentication token. This field should not be set when using administrative API actions,
as in accessing the API using AWS credentials.public void setDocumentId(String documentId)
The ID of the document.
documentId
- The ID of the document.public String getDocumentId()
The ID of the document.
public GetDocumentVersionRequest withDocumentId(String documentId)
The ID of the document.
documentId
- The ID of the document.public void setVersionId(String versionId)
The version ID of the document.
versionId
- The version ID of the document.public String getVersionId()
The version ID of the document.
public GetDocumentVersionRequest withVersionId(String versionId)
The version ID of the document.
versionId
- The version ID of the document.public void setFields(String fields)
A comma-separated list of values. Specify "SOURCE" to include a URL for the source document.
fields
- A comma-separated list of values. Specify "SOURCE" to include a URL for the source document.public String getFields()
A comma-separated list of values. Specify "SOURCE" to include a URL for the source document.
public GetDocumentVersionRequest withFields(String fields)
A comma-separated list of values. Specify "SOURCE" to include a URL for the source document.
fields
- A comma-separated list of values. Specify "SOURCE" to include a URL for the source document.public void setIncludeCustomMetadata(Boolean includeCustomMetadata)
Set this to TRUE to include custom metadata in the response.
includeCustomMetadata
- Set this to TRUE to include custom metadata in the response.public Boolean getIncludeCustomMetadata()
Set this to TRUE to include custom metadata in the response.
public GetDocumentVersionRequest withIncludeCustomMetadata(Boolean includeCustomMetadata)
Set this to TRUE to include custom metadata in the response.
includeCustomMetadata
- Set this to TRUE to include custom metadata in the response.public Boolean isIncludeCustomMetadata()
Set this to TRUE to include custom metadata in the response.
public String toString()
toString
in class Object
Object.toString()
public GetDocumentVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.