public abstract class CredentialsEndpointProvider extends Object
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.
Constructor and Description |
---|
CredentialsEndpointProvider() |
Modifier and Type | Method and Description |
---|---|
abstract URI |
getCredentialsEndpoint()
Returns the URI that contains the credentials.
|
Map<String,String> |
getHeaders()
Allows passing additional headers to the request
|
CredentialsEndpointRetryPolicy |
getRetryPolicy()
Allows the extending class to provide a custom retry policy.
|
public abstract URI getCredentialsEndpoint() throws URISyntaxException, IOException
URISyntaxException
- If the endpoint string could not be parsed as a URI reference.IOException
- If any problems are encountered while connecting to the
service to retrieve the endpoint.public CredentialsEndpointRetryPolicy getRetryPolicy()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.