public void setSubnetIds(java.util.Collection<String> subnetIds) {
        if (subnetIds == null) {
            this.subnetIds = null;
            return;
        }

        this.subnetIds = new java.util.ArrayList<String>(subnetIds);
    }
<p>
The VPC subnets that Studio uses for communication.
</p>
<p>
If removing subnets, ensure there are no apps in the <code>InService</code>, <code>Pending</code>, or
<code>Deleting</code> state.
</p>

@param subnetIds
       The VPC subnets that Studio uses for communication.</p>
       <p>
       If removing subnets, ensure there are no apps in the <code>InService</code>, <code>Pending</code>, or
       <code>Deleting</code> state.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/UpdateDomainRequest.java