public interface CredentialsEndpointRetryPolicy
InstanceProfileCredentialsProvider
,
ContainerCredentialsProvider
) that retrieve credentials from a local endpoint in EC2 host.
Internal use only.Modifier and Type | Field and Description |
---|---|
static CredentialsEndpointRetryPolicy |
NO_RETRY |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldRetry(int retriesAttempted,
CredentialsEndpointRetryParameters retryParams)
Returns whether a failed request should be retried.
|
static final CredentialsEndpointRetryPolicy NO_RETRY
boolean shouldRetry(int retriesAttempted, CredentialsEndpointRetryParameters retryParams)
retriesAttempted
- The number of times the current request has been
attempted.Copyright © 2024. All rights reserved.