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

        this.subnets = new java.util.ArrayList<String>(subnets);
    }
<p>
A list of IDs of subnets that App Runner uses for your service. All IDs are of subnets of a single Amazon VPC.
</p>

@param subnets
       A list of IDs of subnets that App Runner uses for your service. All IDs are of subnets of a single Amazon
       VPC.
aws-java-sdk-apprunner/src/main/java/com/amazonaws/services/apprunner/model/VpcConnector.java