Class StaticClientEndpointProvider
- java.lang.Object
-
- software.amazon.awssdk.core.internal.StaticClientEndpointProvider
-
- All Implemented Interfaces:
ClientEndpointProvider
public class StaticClientEndpointProvider extends Object implements ClientEndpointProvider
An implementation ofClientEndpointProvider
that 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 URI
clientEndpoint()
Retrieve the client endpoint from this provider.boolean
equals(Object o)
int
hashCode()
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.String
toString()
-
-
-
Constructor Detail
-
StaticClientEndpointProvider
public StaticClientEndpointProvider(URI clientEndpoint, boolean isEndpointOverridden)
-
-
Method Detail
-
clientEndpoint
public URI clientEndpoint()
Description copied from interface:ClientEndpointProvider
Retrieve the client endpoint from this provider.- Specified by:
clientEndpoint
in interfaceClientEndpointProvider
-
isEndpointOverridden
public boolean isEndpointOverridden()
Description copied from interface:ClientEndpointProvider
Returns true if this endpoint was specified as an override by the customer, or false if it was determined automatically by the SDK.- Specified by:
isEndpointOverridden
in interfaceClientEndpointProvider
-
-