public java.util.List<String> getSubnets() {
        return subnets;
    }
<p>
The ID of the subnets in the VPC that you want to connect.
</p>

@return The ID of the subnets in the VPC that you want to connect.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/WorkforceVpcConfigResponse.java