Package software.amazon.awssdk.utils
Enum JavaSystemSetting
- java.lang.Object
-
- java.lang.Enum<JavaSystemSetting>
-
- software.amazon.awssdk.utils.JavaSystemSetting
-
- All Implemented Interfaces:
Serializable
,Comparable<JavaSystemSetting>
,SystemSetting
public enum JavaSystemSetting extends Enum<JavaSystemSetting> implements SystemSetting
The system properties usually provided by the Java runtime.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JAVA_VENDOR
JAVA_VERSION
JAVA_VM_NAME
JAVA_VM_VERSION
OS_NAME
OS_VERSION
SSL_KEY_STORE
SSL_KEY_STORE_PASSWORD
SSL_KEY_STORE_TYPE
TEMP_DIRECTORY
USER_HOME
USER_LANGUAGE
USER_NAME
USER_REGION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
defaultValue()
The default value of the setting (or empty if there is no default).String
environmentVariable()
The environment variable of the setting (or null if there is no environment variable for this setting).String
property()
The system property of the setting (or null if there is no property for this setting).static JavaSystemSetting
valueOf(String name)
Returns the enum constant of this type with the specified name.static JavaSystemSetting[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface software.amazon.awssdk.utils.SystemSetting
getBooleanValue, getBooleanValueOrThrow, getIntegerValue, getIntegerValueOrThrow, getNonDefaultStringValue, getStringValue, getStringValueOrThrow
-
-
-
-
Enum Constant Detail
-
JAVA_VERSION
public static final JavaSystemSetting JAVA_VERSION
-
JAVA_VENDOR
public static final JavaSystemSetting JAVA_VENDOR
-
TEMP_DIRECTORY
public static final JavaSystemSetting TEMP_DIRECTORY
-
JAVA_VM_NAME
public static final JavaSystemSetting JAVA_VM_NAME
-
JAVA_VM_VERSION
public static final JavaSystemSetting JAVA_VM_VERSION
-
OS_NAME
public static final JavaSystemSetting OS_NAME
-
OS_VERSION
public static final JavaSystemSetting OS_VERSION
-
USER_HOME
public static final JavaSystemSetting USER_HOME
-
USER_LANGUAGE
public static final JavaSystemSetting USER_LANGUAGE
-
USER_REGION
public static final JavaSystemSetting USER_REGION
-
USER_NAME
public static final JavaSystemSetting USER_NAME
-
SSL_KEY_STORE
public static final JavaSystemSetting SSL_KEY_STORE
-
SSL_KEY_STORE_PASSWORD
public static final JavaSystemSetting SSL_KEY_STORE_PASSWORD
-
SSL_KEY_STORE_TYPE
public static final JavaSystemSetting SSL_KEY_STORE_TYPE
-
-
Method Detail
-
values
public static JavaSystemSetting[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JavaSystemSetting c : JavaSystemSetting.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JavaSystemSetting valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
property
public String property()
Description copied from interface:SystemSetting
The system property of the setting (or null if there is no property for this setting).- Specified by:
property
in interfaceSystemSetting
-
environmentVariable
public String environmentVariable()
Description copied from interface:SystemSetting
The environment variable of the setting (or null if there is no environment variable for this setting).- Specified by:
environmentVariable
in interfaceSystemSetting
-
defaultValue
public String defaultValue()
Description copied from interface:SystemSetting
The default value of the setting (or empty if there is no default). This value will be applied if the customer did not specify a setting.- Specified by:
defaultValue
in interfaceSystemSetting
-
-