@Generated(value="software.amazon.awssdk:codegen") public final class DeleteDocumentRequest extends SsmRequest implements ToCopyableBuilder<DeleteDocumentRequest.Builder,DeleteDocumentRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteDocumentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeleteDocumentRequest.Builder |
builder() |
String |
documentVersion()
The version of the document that you want to delete.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
force()
Some SSM document types require that you specify a
Force flag before you can delete the document. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the document.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteDocumentRequest.Builder> |
serializableBuilderClass() |
DeleteDocumentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionName()
The version name of the document that you want to delete.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of the document.
public String documentVersion()
The version of the document that you want to delete. If not provided, all versions of the document are deleted.
public String versionName()
The version name of the document that you want to delete. If not provided, all versions of the document are deleted.
public 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 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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteDocumentRequest.Builder,DeleteDocumentRequest>toBuilder in class SsmRequestpublic static DeleteDocumentRequest.Builder builder()
public static Class<? extends DeleteDocumentRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.