@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteDocumentVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteDocumentVersionRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteDocumentVersionRequest |
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.
|
Boolean |
getDeletePriorVersions()
When set to
TRUE, deletes the specified version and all prior versions of a document. |
String |
getDocumentId()
The ID of a document.
|
String |
getVersionId()
The version ID of a document.
|
int |
hashCode() |
Boolean |
isDeletePriorVersions()
When set to
TRUE, deletes the specified version and all prior versions of a document. |
void |
setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
void |
setDeletePriorVersions(Boolean deletePriorVersions)
When set to
TRUE, deletes the specified version and all prior versions of a document. |
void |
setDocumentId(String documentId)
The ID of a document.
|
void |
setVersionId(String versionId)
The version ID of a document.
|
String |
toString()
Returns a string representation of this object.
|
DeleteDocumentVersionRequest |
withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
DeleteDocumentVersionRequest |
withDeletePriorVersions(Boolean deletePriorVersions)
When set to
TRUE, deletes the specified version and all prior versions of a document. |
DeleteDocumentVersionRequest |
withDocumentId(String documentId)
The ID of a document.
|
DeleteDocumentVersionRequest |
withVersionId(String versionId)
The version ID of a 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, withSdkRequestTimeoutpublic void setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the
API.public String getAuthenticationToken()
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
public DeleteDocumentVersionRequest withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the
API.public void setDocumentId(String documentId)
The ID of a document.
documentId - The ID of a document.public String getDocumentId()
The ID of a document.
public DeleteDocumentVersionRequest withDocumentId(String documentId)
The ID of a document.
documentId - The ID of a document.public void setVersionId(String versionId)
The version ID of a document.
versionId - The version ID of a document.public String getVersionId()
The version ID of a document.
public DeleteDocumentVersionRequest withVersionId(String versionId)
The version ID of a document.
versionId - The version ID of a document.public void setDeletePriorVersions(Boolean deletePriorVersions)
When set to TRUE, deletes the specified version and all prior versions of a document.
deletePriorVersions - When set to TRUE, deletes the specified version and all prior versions of a document.public Boolean getDeletePriorVersions()
When set to TRUE, deletes the specified version and all prior versions of a document.
TRUE, deletes the specified version and all prior versions of a document.public DeleteDocumentVersionRequest withDeletePriorVersions(Boolean deletePriorVersions)
When set to TRUE, deletes the specified version and all prior versions of a document.
deletePriorVersions - When set to TRUE, deletes the specified version and all prior versions of a document.public Boolean isDeletePriorVersions()
When set to TRUE, deletes the specified version and all prior versions of a document.
TRUE, deletes the specified version and all prior versions of a document.public String toString()
toString in class ObjectObject.toString()public DeleteDocumentVersionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()