Class InstanceProviderTokenEndpointProvider
- java.lang.Object
-
- software.amazon.awssdk.regions.internal.util.InstanceProviderTokenEndpointProvider
-
- All Implemented Interfaces:
ResourcesEndpointProvider
public final class InstanceProviderTokenEndpointProvider extends Object implements ResourcesEndpointProvider
-
-
Constructor Summary
Constructors Constructor Description InstanceProviderTokenEndpointProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIendpoint()Returns the URI that contains the credentials.Map<String,String>headers()Allows passing additional headers to the request-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.regions.util.ResourcesEndpointProvider
connectionTimeout, retryPolicy
-
-
-
-
Method Detail
-
endpoint
public URI endpoint()
Description copied from interface:ResourcesEndpointProviderReturns the URI that contains the credentials.- Specified by:
endpointin interfaceResourcesEndpointProvider- Returns:
- URI to retrieve the credentials.
-
headers
public Map<String,String> headers()
Description copied from interface:ResourcesEndpointProviderAllows passing additional headers to the request- Specified by:
headersin interfaceResourcesEndpointProvider
-
-