code: public void setSubnets(java.util.Collection<String> subnets) {
          if (subnets == null) {
              this.subnets = null;
              return;
          }
  
          this.subnets = new java.util.ArrayList<String>(subnets);
      }
docs: <p>
  The VPC subnets into which the compute resources are launched.
  </p>
  
  @param subnets
  The VPC subnets into which the compute resources are launched.