public VPCConfig withSubnets(java.util.Collection<String> subnets) {
        setSubnets(subnets);
        return this;
    }
<p>
A list of one or more subnet IDs in your VPC.
</p>

@param subnets
       A list of one or more subnet IDs in your VPC.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-robomaker/src/main/java/com/amazonaws/services/robomaker/model/VPCConfig.java