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, waitMethods inherited from interface software.amazon.awssdk.regions.util.ResourcesEndpointProvider
retryPolicy
-
Constructor Details
-
StaticResourcesEndpointProvider
-
-
Method Details
-
endpoint
Description copied from interface:ResourcesEndpointProviderReturns the URI that contains the credentials.- Specified by:
endpointin 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:ResourcesEndpointProviderAllows passing additional headers to the request- Specified by:
headersin interfaceResourcesEndpointProvider
-