Example usage for com.amazonaws.retry PredefinedRetryPolicies getDefaultRetryPolicy

List of usage examples for com.amazonaws.retry PredefinedRetryPolicies getDefaultRetryPolicy

Introduction

In this page you can find the example usage for com.amazonaws.retry PredefinedRetryPolicies getDefaultRetryPolicy.

Prototype

public static RetryPolicy getDefaultRetryPolicy() 

Source Link

Document

Returns the SDK default retry policy.

Usage

From source file:com.netflix.spinnaker.clouddriver.aws.security.AmazonClientProvider.java

License:Apache License

public AmazonClientProvider(HttpClient httpClient, ObjectMapper objectMapper) {
    this(httpClient == null ? HttpClients.createDefault() : httpClient,
            objectMapper == null ? new AmazonObjectMapper() : objectMapper, EddaTemplater.defaultTemplater(),
            PredefinedRetryPolicies.getDefaultRetryPolicy(), Collections.emptyList(), null,
            EddaTimeoutConfig.DEFAULT, true);
}