public java.util.List<CustomDetection> getDetections() {
        return detections;
    }
<p>
The custom data identifiers that detected the data, and the number of occurrences of the data that each
identifier detected.
</p>

@return The custom data identifiers that detected the data, and the number of occurrences of the data that each
        identifier detected.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/CustomDataIdentifiers.java