public java.util.List<String> getSubnetIds() {
        if (subnetIds == null) {
            subnetIds = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return subnetIds;
    }
<p>
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create endpoint network
interfaces. For a Gateway Load Balancer endpoint, you can specify only one subnet.
</p>

@return (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create endpoint
        network interfaces. For a Gateway Load Balancer endpoint, you can specify only one subnet.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateVpcEndpointRequest.java