@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteDocumentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteDocumentRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteDocumentRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDocumentVersion()
The version of the document that you want to delete.
|
String |
getName()
The name of the document.
|
String |
getVersionName()
The version name of the document that you want to delete.
|
int |
hashCode() |
void |
setDocumentVersion(String documentVersion)
The version of the document that you want to delete.
|
void |
setName(String name)
The name of the document.
|
void |
setVersionName(String versionName)
The version name of the document that you want to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteDocumentRequest |
withDocumentVersion(String documentVersion)
The version of the document that you want to delete.
|
DeleteDocumentRequest |
withName(String name)
The name of the document.
|
DeleteDocumentRequest |
withVersionName(String versionName)
The version name of the document that you want to delete.
|
addHandlerContext, copyBaseTo, 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 setName(String name)
The name of the document.
name - The name of the document.public String getName()
The name of the document.
public DeleteDocumentRequest withName(String name)
The name of the document.
name - The name of the document.public void setDocumentVersion(String documentVersion)
The version of the document that you want to delete. If not provided, all versions of the document are deleted.
documentVersion - The version of the document that you want to delete. If not provided, all versions of the document are
deleted.public String getDocumentVersion()
The version of the document that you want to delete. If not provided, all versions of the document are deleted.
public DeleteDocumentRequest withDocumentVersion(String documentVersion)
The version of the document that you want to delete. If not provided, all versions of the document are deleted.
documentVersion - The version of the document that you want to delete. If not provided, all versions of the document are
deleted.public void setVersionName(String versionName)
The version name of the document that you want to delete. If not provided, all versions of the document are deleted.
versionName - The version name of the document that you want to delete. If not provided, all versions of the document
are deleted.public String getVersionName()
The version name of the document that you want to delete. If not provided, all versions of the document are deleted.
public DeleteDocumentRequest withVersionName(String versionName)
The version name of the document that you want to delete. If not provided, all versions of the document are deleted.
versionName - The version name of the document that you want to delete. If not provided, all versions of the document
are deleted.public String toString()
toString in class ObjectObject.toString()public DeleteDocumentRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.