Class StaticResourcesEndpointProvider
java.lang.Object
software.amazon.awssdk.auth.credentials.internal.StaticResourcesEndpointProvider
- All Implemented Interfaces:
ResourcesEndpointProvider
public final class StaticResourcesEndpointProvider
extends Object
implements ResourcesEndpointProvider
-
Constructor Summary
ConstructorsConstructorDescriptionStaticResourcesEndpointProvider
(URI endpoint, Map<String, String> additionalHeaders) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.regions.util.ResourcesEndpointProvider
retryPolicy
-
Constructor Details
-
StaticResourcesEndpointProvider
-
-
Method Details
-
endpoint
Description copied from interface:ResourcesEndpointProvider
Returns the URI that contains the credentials.- Specified by:
endpoint
in interfaceResourcesEndpointProvider
- Returns:
- URI to retrieve the credentials.
- Throws:
IOException
- If any problems are encountered while connecting to the service to retrieve the endpoint.
-
headers
Description copied from interface:ResourcesEndpointProvider
Allows passing additional headers to the request- Specified by:
headers
in interfaceResourcesEndpointProvider
-