public String getType() {
        return this.type;
    }
<p>
The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
</p>

@return The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/DefaultDetection.java