public EndpointDetails withVpcEndpointId(String vpcEndpointId) {
        setVpcEndpointId(vpcEndpointId);
        return this;
    }
<p>
The identifier of the VPC endpoint.
</p>
<note>
<p>
This property can only be set when <code>EndpointType</code> is set to <code>VPC_ENDPOINT</code>.
</p>
<p>
For more information, see
https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.
</p>
</note>

@param vpcEndpointId
       The identifier of the VPC endpoint.</p> <note>
       <p>
       This property can only be set when <code>EndpointType</code> is set to <code>VPC_ENDPOINT</code>.
       </p>
       <p>
       For more information, see
       https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.
       </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