public BrokerNodeGroupInfo withZoneIds(String... zoneIds) {
        if (this.zoneIds == null) {
            setZoneIds(new java.util.ArrayList<String>(zoneIds.length));
        }
        for (String ele : zoneIds) {
            this.zoneIds.add(ele);
        }
        return this;
    }
<p>
The list of zoneIds for the cluster in the virtual private cloud (VPC).
</p>

<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setZoneIds(java.util.Collection)} or {@link #withZoneIds(java.util.Collection)} if you want to override
the existing values.
</p>

@param zoneIds
       <p>
       The list of zoneIds for the cluster in the virtual private cloud (VPC).
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/BrokerNodeGroupInfo.java