public BucketPermissionConfiguration withBucketLevelPermissions(BucketLevelPermissions bucketLevelPermissions) {
        setBucketLevelPermissions(bucketLevelPermissions);
        return this;
    }
<p>
The bucket-level permissions settings for the bucket.
</p>

@param bucketLevelPermissions
       The bucket-level permissions settings 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/BucketPermissionConfiguration.java