public VpcConfigurationUpdate withSubnetIdUpdates(String... subnetIdUpdates) {
        if (this.subnetIdUpdates == null) {
            setSubnetIdUpdates(new java.util.ArrayList<String>(subnetIdUpdates.length));
        }
        for (String ele : subnetIdUpdates) {
            this.subnetIdUpdates.add(ele);
        }
        return this;
    }
<p>
Describes updates to the array of <a
href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html">Subnet</a> IDs used by the VPC
configuration.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSubnetIdUpdates(java.util.Collection)} or {@link #withSubnetIdUpdates(java.util.Collection)} if you
want to override the existing values.
</p>

@param subnetIdUpdates
       Describes updates to the array of <a
       href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Subnet.html">Subnet</a> IDs used by the
       VPC configuration.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kinesisanalyticsv2/src/main/java/com/amazonaws/services/kinesisanalyticsv2/model/VpcConfigurationUpdate.java