public void setTotalDetections(Long totalDetections) {
        this.totalDetections = totalDetections;
    }
<p>
The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects. This
includes occurrences that are currently suppressed by the sensitivity scoring settings for the bucket
(totalDetectionsSuppressed).
</p>

@param totalDetections
       The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects.
       This includes occurrences that are currently suppressed by the sensitivity scoring settings for the bucket
       (totalDetectionsSuppressed).
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/ResourceStatistics.java