public class AwsProfileFileLocationProviderChain extends Object implements AwsProfileFileLocationProvider
AwsProfileFileLocationProvider
. Returns null if no provider in
the chain can come up with a location to the shared credentials file.DEFAULT_CONFIG_LOCATION_PROVIDER, DEFAULT_CREDENTIALS_LOCATION_PROVIDER
Constructor and Description |
---|
AwsProfileFileLocationProviderChain(AwsProfileFileLocationProvider... providers) |
Modifier and Type | Method and Description |
---|---|
File |
getLocation() |
public AwsProfileFileLocationProviderChain(AwsProfileFileLocationProvider... providers)
public File getLocation()
getLocation
in interface AwsProfileFileLocationProvider