public ListBucketsPaginatedRequest withPrefix(String prefix) {
        this.prefix = prefix;
        return this;
    }
Sets the prefix for filtering bucket names. Prefix is used to filter the list of buckets
to only include buckets whose names start with the specified string.

@param prefix The new prefix value.
@return This object for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/ListBucketsPaginatedRequest.java