public java.util.List<KeyValuePair> getTags() {
        return tags;
    }
<p>
An array that specifies the tags (keys and values) that are associated with the bucket.
</p>

@return An array that specifies the tags (keys and values) that are associated with the bucket.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/BucketMetadata.java