public void setActivityMetrics(ActivityMetrics activityMetrics) {
        this.activityMetrics = activityMetrics;
    }
<p>
A container for the bucket-level activity metrics for S3 Storage Lens.
</p>

@param activityMetrics
       A container for the bucket-level activity metrics for S3 Storage Lens.
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/BucketLevel.java