@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 final String name()
The name of the document.
public final String documentVersion()
The version of the document that you want to delete. If not provided, all versions of the document are deleted.
public final String versionName()
The version name of the document that you want to delete. If not provided, all versions of the document are deleted.
public final 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
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
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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.