public static interface DeleteDocumentRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<DeleteDocumentRequest.Builder,DeleteDocumentRequest>
Modifier and Type | Method and Description |
---|---|
DeleteDocumentRequest.Builder |
documentVersion(String documentVersion)
The version of the document that you want to delete.
|
DeleteDocumentRequest.Builder |
force(Boolean force)
Some SSM document types require that you specify a
Force flag before you can delete the
document. |
DeleteDocumentRequest.Builder |
name(String name)
The name of the document.
|
DeleteDocumentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DeleteDocumentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
DeleteDocumentRequest.Builder |
versionName(String versionName)
The version name of the document that you want to delete.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
DeleteDocumentRequest.Builder name(String name)
The name of the document.
name
- The name of the document.DeleteDocumentRequest.Builder documentVersion(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.DeleteDocumentRequest.Builder versionName(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.DeleteDocumentRequest.Builder force(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.DeleteDocumentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DeleteDocumentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.