Class DeleteDocumentRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.ssm.model.SsmRequest
software.amazon.awssdk.services.ssm.model.DeleteDocumentRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteDocumentRequest.Builder,DeleteDocumentRequest>
@Generated("software.amazon.awssdk:codegen")
public final class DeleteDocumentRequest
extends SsmRequest
implements ToCopyableBuilder<DeleteDocumentRequest.Builder,DeleteDocumentRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe version of the document that you want to delete.final booleanfinal booleanequalsBySdkFields(Object obj) final Booleanforce()Some SSM document types require that you specify aForceflag before you can delete the document.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The name of the document.static Class<? extends DeleteDocumentRequest.Builder>final StringtoString()Returns a string representation of this object.final StringThe version name of the document that you want to delete.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The name of the document.
- Returns:
- The name of the document.
-
documentVersion
The version of the document that you want to delete. If not provided, all versions of the document are deleted.
- Returns:
- The version 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.
- Returns:
- The version name of the document that you want to delete. If not provided, all versions of the document are deleted.
-
force
Some SSM document types require that you specify a
Forceflag before you can delete the document. For example, you must specify aForceflag to delete a document of typeApplicationConfigurationSchema. You can restrict access to theForceflag in an Identity and Access Management (IAM) policy.- Returns:
- Some SSM document types require that you specify a
Forceflag before you can delete the document. For example, you must specify aForceflag to delete a document of typeApplicationConfigurationSchema. You can restrict access to theForceflag in an Identity and Access Management (IAM) policy.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteDocumentRequest.Builder,DeleteDocumentRequest> - Specified by:
toBuilderin classSsmRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-