@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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 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 Object
Object.toString()
public DeleteDocumentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.