public void setBuckets(java.util.Collection<Bucket> buckets) {
        if (buckets == null) {
            this.buckets = null;
            return;
        }

        this.buckets = new java.util.ArrayList<Bucket>(buckets);
    }
<p>
An array of objects that describe buckets.
</p>

@param buckets
       An array of objects that describe buckets.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/GetBucketsResult.java