public java.util.List<String> getBucketNames() {
        return bucketNames;
    }
<p>
An array of strings, one for each S3 bucket that is excluded. Each string is the full name of an excluded bucket.
</p>

@return An array of strings, one for each S3 bucket that is excluded. Each string is the full name of an excluded
        bucket.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/S3ClassificationScopeExclusion.java