public abstract class EC2ResourceFetcher extends Object
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
addDefaultHeaders(Map<String,String> headers) |
static EC2ResourceFetcher |
defaultResourceFetcher() |
String |
readResource(URI endpoint) |
String |
readResource(URI endpoint,
CredentialsEndpointRetryPolicy retryPolicy) |
abstract String |
readResource(URI endpoint,
CredentialsEndpointRetryPolicy retryPolicy,
Map<String,String> headers) |
public static EC2ResourceFetcher defaultResourceFetcher()
public abstract String readResource(URI endpoint, CredentialsEndpointRetryPolicy retryPolicy, Map<String,String> headers)
public final String readResource(URI endpoint, CredentialsEndpointRetryPolicy retryPolicy)
Copyright © 2021. All rights reserved.