public DeleteOrganizationRequest withDeleteDirectory(Boolean deleteDirectory) {
        setDeleteDirectory(deleteDirectory);
        return this;
    }
<p>
If true, deletes the AWS Directory Service directory associated with the organization.
</p>

@param deleteDirectory
       If true, deletes the AWS Directory Service directory associated with the organization.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/DeleteOrganizationRequest.java