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 Modifier and Type Class Description static interfaceDeleteDocumentRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteDocumentRequest.Builderbuilder()StringdocumentVersion()The version of the document that you want to delete.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Booleanforce()Some SSM document types require that you specify aForceflag before you can delete the document.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the document.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DeleteDocumentRequest.Builder>serializableBuilderClass()DeleteDocumentRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringversionName()The version name of the document that you want to delete.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the document.
- Returns:
- The name of the document.
-
documentVersion
public final String 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
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.
- Returns:
- The version name of the document that you want to delete. If not provided, all versions of the document are deleted.
-
force
public final Boolean 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
public DeleteDocumentRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteDocumentRequest.Builder,DeleteDocumentRequest>- Specified by:
toBuilderin classSsmRequest
-
builder
public static DeleteDocumentRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteDocumentRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-