public java.util.List<Subnet> getSubnets() {
        if (subnets == null) {
            subnets = new com.amazonaws.internal.SdkInternalList<Subnet>();
        }
        return subnets;
    }
<p>
Information about the subnets.
</p>

@return Information about the subnets.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeSubnetsResult.java