Modifying this value:
|
.setEndpoint(settings.getEndpoint()) |
to be the resolved endpoint from the EndpointContext may break downstream handwritten libraries.
If there is no impact, try to change the value.
If there is impact and ClientContext needs to return the resolvedEndpoint, look into exposing a few field to return