public void setEndpointType(String endpointType) {
        this.endpointType = endpointType;
    }
<p>
The type of endpoint that you want your server to use. You can choose to make your server's endpoint publicly
accessible (PUBLIC) or host it inside your VPC. With an endpoint that is hosted in a VPC, you can restrict access
to your server and resources only within your VPC or choose to make it internet facing by attaching Elastic IP
addresses directly to it.
</p>
<note>
<p>
After May 19, 2021, you won't be able to create a server using <code>EndpointType=VPC_ENDPOINT</code> in your
Amazon Web Servicesaccount if your account hasn't already done so before May 19, 2021. If you have already
created servers with <code>EndpointType=VPC_ENDPOINT</code> in your Amazon Web Servicesaccount on or before May
19, 2021, you will not be affected. After this date, use <code>EndpointType</code>=<code>VPC</code>.
</p>
<p>
For more information, see
https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.
</p>
<p>
It is recommended that you use <code>VPC</code> as the <code>EndpointType</code>. With this endpoint type, you
have the option to directly associate up to three Elastic IPv4 addresses (BYO IP included) with your server's
endpoint and use VPC security groups to restrict traffic by the client's public IP address. This is not possible
with <code>EndpointType</code> set to <code>VPC_ENDPOINT</code>.
</p>
</note>

@param endpointType
       The type of endpoint that you want your server to use. You can choose to make your server's endpoint
       publicly accessible (PUBLIC) or host it inside your VPC. With an endpoint that is hosted in a VPC, you can
       restrict access to your server and resources only within your VPC or choose to make it internet facing by
       attaching Elastic IP addresses directly to it.</p> <note>
       <p>
       After May 19, 2021, you won't be able to create a server using <code>EndpointType=VPC_ENDPOINT</code> in
       your Amazon Web Servicesaccount if your account hasn't already done so before May 19, 2021. If you have
       already created servers with <code>EndpointType=VPC_ENDPOINT</code> in your Amazon Web Servicesaccount on
       or before May 19, 2021, you will not be affected. After this date, use <code>EndpointType</code>=
       <code>VPC</code>.
       </p>
       <p>
       For more information, see
       https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.
       </p>
       <p>
       It is recommended that you use <code>VPC</code> as the <code>EndpointType</code>. With this endpoint type,
       you have the option to directly associate up to three Elastic IPv4 addresses (BYO IP included) with your
       server's endpoint and use VPC security groups to restrict traffic by the client's public IP address. This
       is not possible with <code>EndpointType</code> set to <code>VPC_ENDPOINT</code>.
       </p>
@see EndpointType
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/UpdateServerRequest.java