public BucketMetadata withBucketArn(String bucketArn) {
        setBucketArn(bucketArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the bucket.
</p>

@param bucketArn
       The Amazon Resource Name (ARN) of 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/BucketMetadata.java