public BucketLevel withAdvancedDataProtectionMetrics(AdvancedDataProtectionMetrics advancedDataProtectionMetrics) {
        setAdvancedDataProtectionMetrics(advancedDataProtectionMetrics);
        return this;
    }
<p>
A container for bucket-level advanced data-protection metrics for S3 Storage Lens.
</p>

@param advancedDataProtectionMetrics
       A container for bucket-level advanced data-protection metrics for S3 Storage Lens.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/BucketLevel.java