Package software.amazon.awssdk.core
Interface ClientEndpointProvider
-
- All Known Implementing Classes:
StaticClientEndpointProvider
public interface ClientEndpointProviderClient 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, unlessisEndpointOverridden()is true.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description URIclientEndpoint()Retrieve the client endpoint from this provider.static ClientEndpointProvidercreate(URI uri, boolean isEndpointOverridden)Create 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().booleanisEndpointOverridden()Returns true if this endpoint was specified as an override by the customer, or false if it was determined automatically by the SDK.
-
-
-
Method Detail
-
forEndpointOverride
static ClientEndpointProvider forEndpointOverride(URI uri)
Create a client endpoint provider that uses the provided URI and returns true fromisEndpointOverridden().
-
create
static ClientEndpointProvider create(URI uri, boolean isEndpointOverridden)
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.
-
-