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

        this.subnetIds = new java.util.ArrayList<String>(subnetIds);
    }
<p>
A list of subnet IDs that are required to host your server endpoint in your VPC.
</p>
<note>
<p>
This property can only be set when <code>EndpointType</code> is set to <code>VPC</code>.
</p>
</note>

@param subnetIds
       A list of subnet IDs that are required to host your server endpoint in your VPC.</p> <note>
       <p>
       This property can only be set when <code>EndpointType</code> is set to <code>VPC</code>.
       </p>
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/EndpointDetails.java