@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.
|
Boolean |
getForce()
Some SSM document types require that you specify a
Force flag before you can delete the document. |
String |
getName()
The name of the document.
|
String |
getVersionName()
The version name of the document that you want to delete.
|
int |
hashCode() |
Boolean |
isForce()
Some SSM document types require that you specify a
Force flag before you can delete the document. |
void |
setDocumentVersion(String documentVersion)
The version of the document that you want to delete.
|
void |
setForce(Boolean force)
Some SSM document types require that you specify a
Force flag before you can delete the document. |
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 |
withForce(Boolean force)
Some SSM document types require that you specify a
Force flag before you can delete the document. |
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 void setForce(Boolean force)
Some SSM document types require that you specify a Force
flag before you can delete the document.
For example, you must specify a Force
flag to delete a document of type
ApplicationConfigurationSchema
. You can restrict access to the Force
flag in an AWS
Identity and Access Management (IAM) policy.
force
- Some SSM document types require that you specify a Force
flag before you can delete the
document. For example, you must specify a Force
flag to delete a document of type
ApplicationConfigurationSchema
. You can restrict access to the Force
flag in an
AWS Identity and Access Management (IAM) policy.public Boolean getForce()
Some SSM document types require that you specify a Force
flag before you can delete the document.
For example, you must specify a Force
flag to delete a document of type
ApplicationConfigurationSchema
. You can restrict access to the Force
flag in an AWS
Identity and Access Management (IAM) policy.
Force
flag before you can delete the
document. For example, you must specify a Force
flag to delete a document of type
ApplicationConfigurationSchema
. You can restrict access to the Force
flag in an
AWS Identity and Access Management (IAM) policy.public DeleteDocumentRequest withForce(Boolean force)
Some SSM document types require that you specify a Force
flag before you can delete the document.
For example, you must specify a Force
flag to delete a document of type
ApplicationConfigurationSchema
. You can restrict access to the Force
flag in an AWS
Identity and Access Management (IAM) policy.
force
- Some SSM document types require that you specify a Force
flag before you can delete the
document. For example, you must specify a Force
flag to delete a document of type
ApplicationConfigurationSchema
. You can restrict access to the Force
flag in an
AWS Identity and Access Management (IAM) policy.public Boolean isForce()
Some SSM document types require that you specify a Force
flag before you can delete the document.
For example, you must specify a Force
flag to delete a document of type
ApplicationConfigurationSchema
. You can restrict access to the Force
flag in an AWS
Identity and Access Management (IAM) policy.
Force
flag before you can delete the
document. For example, you must specify a Force
flag to delete a document of type
ApplicationConfigurationSchema
. You can restrict access to the Force
flag in an
AWS Identity and Access Management (IAM) policy.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.