public SuppressDataIdentifier withType(String type) {
        setType(type);
        return this;
    }
<p>
The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data
identifier; and, MANAGED, for a managed data identifier.
</p>

@param type
       The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom
       data identifier; and, MANAGED, for a managed data identifier.
@return Returns a reference to this object so that method calls can be chained together.
@see DataIdentifierType
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/SuppressDataIdentifier.java