@FunctionalInterface public interface CredentialsEndpointProvider
Abstract class to return an endpoint URI from which the credentials can be loaded.
By default, the request won't be retried if the request fails while computing endpoint.
Modifier and Type | Method and Description |
---|---|
URI |
endpoint()
Returns the URI that contains the credentials.
|
default Map<String,String> |
headers()
Allows passing additional headers to the request
|
default CredentialsEndpointRetryPolicy |
retryPolicy()
Allows the extending class to provide a custom retry policy.
|
URI endpoint() throws IOException
IOException
- If any problems are encountered while connecting to the
service to retrieve the endpoint.default CredentialsEndpointRetryPolicy retryPolicy()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.