Interface DeleteDocumentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteDocumentRequest.Builder,DeleteDocumentRequest>,SdkBuilder<DeleteDocumentRequest.Builder,DeleteDocumentRequest>,SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
- DeleteDocumentRequest
public static interface DeleteDocumentRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<DeleteDocumentRequest.Builder,DeleteDocumentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteDocumentRequest.BuilderdocumentVersion(String documentVersion)The version of the document that you want to delete.DeleteDocumentRequest.Builderforce(Boolean force)Some SSM document types require that you specify aForceflag before you can delete the document.DeleteDocumentRequest.Buildername(String name)The name of the document.DeleteDocumentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeleteDocumentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DeleteDocumentRequest.BuilderversionName(String versionName)The version name of the document that you want to delete.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
-
-
-
Method Detail
-
name
DeleteDocumentRequest.Builder name(String name)
The name of the document.
- Parameters:
name- The name of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentVersion
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.
- Parameters:
documentVersion- The version of the document that you want to delete. If not provided, all versions of the document are deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionName
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.
- Parameters:
versionName- The version name of the document that you want to delete. If not provided, all versions of the document are deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
force
DeleteDocumentRequest.Builder force(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.- Parameters:
force- Some SSM document types require that you specify aForceflag 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:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteDocumentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteDocumentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-