Interface ClientEndpointProvider
- All Known Implementing Classes:
AwsClientEndpointProvider
,StaticClientEndpointProvider
public interface ClientEndpointProvider
Client endpoint providers are responsible for resolving client-level endpoints.
EndpointProvider
s are
ultimately responsible for resolving the endpoint used for a request.
EndpointProvider
s may choose to honor or completely ignore the client-level endpoint. Default endpoint
providers will ignore the client-level endpoint, unless isEndpointOverridden()
is true.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the client endpoint from this provider.static ClientEndpointProvider
Create a client endpoint provider that uses the provided static URI and override settings.static ClientEndpointProvider
forEndpointOverride
(URI uri) Create a client endpoint provider that uses the provided URI and returns true fromisEndpointOverridden()
.boolean
Returns true if this endpoint was specified as an override by the customer, or false if it was determined automatically by the SDK.
-
Method Details
-
forEndpointOverride
Create a client endpoint provider that uses the provided URI and returns true fromisEndpointOverridden()
. -
create
Create a client endpoint provider that uses the provided static URI and override settings. -
clientEndpoint
URI clientEndpoint()Retrieve the client endpoint from this provider. -
isEndpointOverridden
boolean isEndpointOverridden()Returns true if this endpoint was specified as an override by the customer, or false if it was determined automatically by the SDK.
-