@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDocumentVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateDocumentVersionRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateDocumentVersionRequest |
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 |
getVersionId()
The version ID of the document.
|
String |
getVersionStatus()
The status of the version.
|
int |
hashCode() |
void |
setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
void |
setDocumentId(String documentId)
The ID of the document.
|
void |
setVersionId(String versionId)
The version ID of the document.
|
void |
setVersionStatus(DocumentVersionStatus versionStatus)
The status of the version.
|
void |
setVersionStatus(String versionStatus)
The status of the version.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDocumentVersionRequest |
withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
UpdateDocumentVersionRequest |
withDocumentId(String documentId)
The ID of the document.
|
UpdateDocumentVersionRequest |
withVersionId(String versionId)
The version ID of the document.
|
UpdateDocumentVersionRequest |
withVersionStatus(DocumentVersionStatus versionStatus)
The status of the version.
|
UpdateDocumentVersionRequest |
withVersionStatus(String versionStatus)
The status of the version.
|
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, withSdkRequestTimeoutpublic void setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
authenticationToken - Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator
credentials to access the API.public String getAuthenticationToken()
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
public UpdateDocumentVersionRequest withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
authenticationToken - Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator
credentials to access the API.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 UpdateDocumentVersionRequest 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 UpdateDocumentVersionRequest withVersionId(String versionId)
The version ID of the document.
versionId - The version ID of the document.public void setVersionStatus(String versionStatus)
The status of the version.
versionStatus - The status of the version.DocumentVersionStatuspublic String getVersionStatus()
The status of the version.
DocumentVersionStatuspublic UpdateDocumentVersionRequest withVersionStatus(String versionStatus)
The status of the version.
versionStatus - The status of the version.DocumentVersionStatuspublic void setVersionStatus(DocumentVersionStatus versionStatus)
The status of the version.
versionStatus - The status of the version.DocumentVersionStatuspublic UpdateDocumentVersionRequest withVersionStatus(DocumentVersionStatus versionStatus)
The status of the version.
versionStatus - The status of the version.DocumentVersionStatuspublic String toString()
toString in class ObjectObject.toString()public UpdateDocumentVersionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()