@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()
Deletes all versions of a document prior to the current version.
|
String |
getDocumentId()
The ID of the document associated with the version being deleted.
|
String |
getVersionId()
The ID of the version being deleted.
|
int |
hashCode() |
Boolean |
isDeletePriorVersions()
Deletes all versions of a document prior to the current version.
|
void |
setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
void |
setDeletePriorVersions(Boolean deletePriorVersions)
Deletes all versions of a document prior to the current version.
|
void |
setDocumentId(String documentId)
The ID of the document associated with the version being deleted.
|
void |
setVersionId(String versionId)
The ID of the version being deleted.
|
String |
toString()
Returns a string representation of this object.
|
DeleteDocumentVersionRequest |
withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
DeleteDocumentVersionRequest |
withDeletePriorVersions(Boolean deletePriorVersions)
Deletes all versions of a document prior to the current version.
|
DeleteDocumentVersionRequest |
withDocumentId(String documentId)
The ID of the document associated with the version being deleted.
|
DeleteDocumentVersionRequest |
withVersionId(String versionId)
The ID of the version being deleted.
|
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. 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 DeleteDocumentVersionRequest 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 associated with the version being deleted.
documentId
- The ID of the document associated with the version being deleted.public String getDocumentId()
The ID of the document associated with the version being deleted.
public DeleteDocumentVersionRequest withDocumentId(String documentId)
The ID of the document associated with the version being deleted.
documentId
- The ID of the document associated with the version being deleted.public void setVersionId(String versionId)
The ID of the version being deleted.
versionId
- The ID of the version being deleted.public String getVersionId()
The ID of the version being deleted.
public DeleteDocumentVersionRequest withVersionId(String versionId)
The ID of the version being deleted.
versionId
- The ID of the version being deleted.public void setDeletePriorVersions(Boolean deletePriorVersions)
Deletes all versions of a document prior to the current version.
deletePriorVersions
- Deletes all versions of a document prior to the current version.public Boolean getDeletePriorVersions()
Deletes all versions of a document prior to the current version.
public DeleteDocumentVersionRequest withDeletePriorVersions(Boolean deletePriorVersions)
Deletes all versions of a document prior to the current version.
deletePriorVersions
- Deletes all versions of a document prior to the current version.public Boolean isDeletePriorVersions()
Deletes all versions of a document prior to the current version.
public String toString()
toString
in class Object
Object.toString()
public DeleteDocumentVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()