public final class ProfileFileLocation extends Object
Modifier and Type | Method and Description |
---|---|
static Optional<Path> |
configurationFileLocation()
Load the location for the configuration file, usually ~/.aws/config unless it's overridden using an environment variable
or system property.
|
static Path |
configurationFilePath()
Resolve the path for the configuration file, regardless of whether it exists or not.
|
static Optional<Path> |
credentialsFileLocation()
Load the location for the credentials file, usually ~/.aws/credentials unless it's overridden using an environment variable
or system property.
|
static Path |
credentialsFilePath()
Resolve the location for the credentials file, regardless of whether it exists or not.
|
public static Path configurationFilePath()
configurationFileLocation()
public static Path credentialsFilePath()
credentialsFileLocation()
public static Optional<Path> configurationFileLocation()
Copyright © 2019. All rights reserved.