public GetResourceProfileResult withStatistics(ResourceStatistics statistics) {
        setStatistics(statistics);
        return this;
    }
<p>
The sensitive data discovery statistics for the bucket. The statistics capture the results of automated sensitive
data discovery activities that Amazon Macie has performed for the bucket.
</p>

@param statistics
       The sensitive data discovery statistics for the bucket. The statistics capture the results of automated
       sensitive data discovery activities that Amazon Macie has performed for the bucket.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/GetResourceProfileResult.java