Class StaticClientEndpointProvider
- java.lang.Object
-
- software.amazon.awssdk.core.internal.StaticClientEndpointProvider
-
- All Implemented Interfaces:
ClientEndpointProvider
public class StaticClientEndpointProvider extends Object implements ClientEndpointProvider
An implementation ofClientEndpointProviderthat uses static values.
-
-
Constructor Summary
Constructors Constructor Description StaticClientEndpointProvider(URI clientEndpoint, boolean isEndpointOverridden)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIclientEndpoint()Retrieve the client endpoint from this provider.booleanequals(Object o)inthashCode()booleanisEndpointOverridden()Returns true if this endpoint was specified as an override by the customer, or false if it was determined automatically by the SDK.StringtoString()
-
-
-
Constructor Detail
-
StaticClientEndpointProvider
public StaticClientEndpointProvider(URI clientEndpoint, boolean isEndpointOverridden)
-
-
Method Detail
-
clientEndpoint
public URI clientEndpoint()
Description copied from interface:ClientEndpointProviderRetrieve the client endpoint from this provider.- Specified by:
clientEndpointin interfaceClientEndpointProvider
-
isEndpointOverridden
public boolean isEndpointOverridden()
Description copied from interface:ClientEndpointProviderReturns true if this endpoint was specified as an override by the customer, or false if it was determined automatically by the SDK.- Specified by:
isEndpointOverriddenin interfaceClientEndpointProvider
-
-