public String getType() {
        return this.type;
    }
<p>
The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated
sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data
discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification
jobs.
</p>

@return The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for
        automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for
        automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and,
        SENSITIVE_DATA_DISCOVERY, to run classification jobs.
@see UsageType
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/UsageByAccount.java