Interface DeleteDomainRequest.Builder

  • Method Details

    • identifier

      DeleteDomainRequest.Builder identifier(String 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

      DeleteDomainRequest.Builder clientToken(String 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

      DeleteDomainRequest.Builder skipDeletionCheck(Boolean 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 cascadeDelete instead. You can't use this parameter together with cascadeDelete .

      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, use cascadeDelete instead. You can't use this parameter together with cascadeDelete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cascadeDelete

      DeleteDomainRequest.Builder cascadeDelete(Boolean 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 deleteProgress field. Amazon DataZone reports any resources that it can't delete in the failureReasons field of the GetDomain response. You can't use this parameter together with skipDeletionCheck. If you don't specify a value, the default is false.

      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 the deleteProgress field. Amazon DataZone reports any resources that it can't delete in the failureReasons field of the GetDomain response. You can't use this parameter together with skipDeletionCheck. If you don't specify a value, the default is false.
      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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.