public static enum ProfileFile.Type extends Enum<ProfileFile.Type>
Enum Constant and Description |
---|
CONFIGURATION
A configuration profile file, typically located at ~/.aws/config, that expects all profile names (except the default
profile) to be prefixed with "profile ".
|
CREDENTIALS
A credentials profile file, typically located at ~/.aws/credentials, that expects all profile name to have no
"profile " prefix.
|
Modifier and Type | Method and Description |
---|---|
static ProfileFile.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfileFile.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfileFile.Type CONFIGURATION
public static final ProfileFile.Type CREDENTIALS
public static ProfileFile.Type[] values()
for (ProfileFile.Type c : ProfileFile.Type.values()) System.out.println(c);
public static ProfileFile.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019. All rights reserved.