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_VENDORJAVA_VERSIONJAVA_VM_NAMEJAVA_VM_VERSIONOS_NAMEOS_VERSIONSSL_KEY_STORESSL_KEY_STORE_PASSWORDSSL_KEY_STORE_TYPETEMP_DIRECTORYUSER_COUNTRYUSER_HOMEUSER_LANGUAGEUSER_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdefaultValue()The default value of the setting (or empty if there is no default).StringenvironmentVariable()The environment variable of the setting (or null if there is no environment variable for this setting).Stringproperty()The system property of the setting (or null if there is no property for this setting).static JavaSystemSettingvalueOf(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_COUNTRY
public static final JavaSystemSetting USER_COUNTRY
-
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:SystemSettingThe system property of the setting (or null if there is no property for this setting).- Specified by:
propertyin interfaceSystemSetting
-
environmentVariable
public String environmentVariable()
Description copied from interface:SystemSettingThe environment variable of the setting (or null if there is no environment variable for this setting).- Specified by:
environmentVariablein interfaceSystemSetting
-
defaultValue
public String defaultValue()
Description copied from interface:SystemSettingThe 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:
defaultValuein interfaceSystemSetting
-
-