public GetCustomDataIdentifierResult withDeleted(Boolean deleted) {
        setDeleted(deleted);
        return this;
    }
<p>
Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie
doesn't delete it permanently. Instead, it soft deletes the identifier.
</p>

@param deleted
       Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon
       Macie doesn't delete it permanently. Instead, it soft deletes the identifier.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/GetCustomDataIdentifierResult.java