Interface ClientEndpointProvider
- All Known Implementing Classes:
AwsClientEndpointProvider,StaticClientEndpointProvider
public interface ClientEndpointProvider
Client endpoint providers are responsible for resolving client-level endpoints.
EndpointProviders are
ultimately responsible for resolving the endpoint used for a request.
EndpointProviders 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 ClientEndpointProviderCreate a client endpoint provider that uses the provided static URI and override settings.static ClientEndpointProviderforEndpointOverride(URI uri) Create a client endpoint provider that uses the provided URI and returns true fromisEndpointOverridden().booleanReturns 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.
-