public EndpointDetails withSubnetIds(java.util.Collection<String> subnetIds) {
        setSubnetIds(subnetIds);
        return this;
    }
<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>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/EndpointDetails.java