Interface DeleteOrganizationRequest.Builder

    • Method Detail

      • clientToken

        DeleteOrganizationRequest.Builder clientToken​(String clientToken)

        The idempotency token associated with the request.

        Parameters:
        clientToken - The idempotency token associated with the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • organizationId

        DeleteOrganizationRequest.Builder organizationId​(String organizationId)

        The organization ID.

        Parameters:
        organizationId - The organization ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deleteDirectory

        DeleteOrganizationRequest.Builder deleteDirectory​(Boolean deleteDirectory)

        If true, deletes the AWS Directory Service directory associated with the organization.

        Parameters:
        deleteDirectory - If true, deletes the AWS Directory Service directory associated with the organization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • forceDelete

        DeleteOrganizationRequest.Builder forceDelete​(Boolean forceDelete)

        Deletes a WorkMail organization even if the organization has enabled users.

        Parameters:
        forceDelete - Deletes a WorkMail organization even if the organization has enabled users.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deleteIdentityCenterApplication

        DeleteOrganizationRequest.Builder deleteIdentityCenterApplication​(Boolean deleteIdentityCenterApplication)

        Deletes IAM Identity Center application for WorkMail. This action does not affect authentication settings for any organization.

        Parameters:
        deleteIdentityCenterApplication - Deletes IAM Identity Center application for WorkMail. This action does not affect authentication settings for any organization.
        Returns:
        Returns a reference to this object so that method calls can be chained together.