Interface DeleteDomainRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteDomainRequest.Builder,,DeleteDomainRequest> DataZoneRequest.Builder,SdkBuilder<DeleteDomainRequest.Builder,,DeleteDomainRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteDomainRequest
-
Method Summary
Modifier and TypeMethodDescriptioncascadeDelete(Boolean cascadeDelete) Specifies whether to delete the domain along with all of its associated resources.clientToken(String clientToken) A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.identifier(String identifier) The identifier of the Amazon Web Services domain that is to be deleted.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.skipDeletionCheck(Boolean skipDeletionCheck) Specifies whether to skip the check that prevents deletion of a domain that still contains resources.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
identifier
The identifier of the Amazon Web Services domain that is to be deleted.
- Parameters:
identifier- The identifier of the Amazon Web Services domain that is to be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
skipDeletionCheck
Specifies whether to skip the check that prevents deletion of a domain that still contains resources. When you use this parameter, Amazon DataZone deletes the domain but might not remove its associated resources, which can leave orphaned resources behind. To delete a domain and fully clean up its associated resources, use
cascadeDeleteinstead. You can't use this parameter together withcascadeDelete.- Parameters:
skipDeletionCheck- Specifies whether to skip the check that prevents deletion of a domain that still contains resources. When you use this parameter, Amazon DataZone deletes the domain but might not remove its associated resources, which can leave orphaned resources behind. To delete a domain and fully clean up its associated resources, usecascadeDeleteinstead. You can't use this parameter together withcascadeDelete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cascadeDelete
Specifies whether to delete the domain along with all of its associated resources. When you use this parameter, Amazon DataZone deletes the domain and cleanly removes its associated resources without leaving orphaned resources behind. Amazon DataZone reports deletion progress in the
deleteProgressfield. Amazon DataZone reports any resources that it can't delete in thefailureReasonsfield of theGetDomainresponse. You can't use this parameter together withskipDeletionCheck. If you don't specify a value, the default isfalse.- Parameters:
cascadeDelete- Specifies whether to delete the domain along with all of its associated resources. When you use this parameter, Amazon DataZone deletes the domain and cleanly removes its associated resources without leaving orphaned resources behind. Amazon DataZone reports deletion progress in thedeleteProgressfield. Amazon DataZone reports any resources that it can't delete in thefailureReasonsfield of theGetDomainresponse. You can't use this parameter together withskipDeletionCheck. If you don't specify a value, the default isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-