Package software.amazon.awssdk.utils
Enum ProxySystemSetting
- java.lang.Object
-
- java.lang.Enum<ProxySystemSetting>
-
- software.amazon.awssdk.utils.ProxySystemSetting
-
- All Implemented Interfaces:
Serializable,Comparable<ProxySystemSetting>,SystemSetting
public enum ProxySystemSetting extends Enum<ProxySystemSetting> implements SystemSetting
The system properties related to http and https proxies
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HTTPS_PROXY_HOSTHTTPS_PROXY_PASSWORDHTTPS_PROXY_PORTHTTPS_PROXY_USERNAMENON_PROXY_HOSTSPROXY_HOSTPROXY_PASSWORDPROXY_PORTPROXY_USERNAME
-
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 ProxySystemSettingvalueOf(String name)Returns the enum constant of this type with the specified name.static ProxySystemSetting[]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
-
PROXY_HOST
public static final ProxySystemSetting PROXY_HOST
-
PROXY_PORT
public static final ProxySystemSetting PROXY_PORT
-
NON_PROXY_HOSTS
public static final ProxySystemSetting NON_PROXY_HOSTS
-
PROXY_USERNAME
public static final ProxySystemSetting PROXY_USERNAME
-
PROXY_PASSWORD
public static final ProxySystemSetting PROXY_PASSWORD
-
HTTPS_PROXY_HOST
public static final ProxySystemSetting HTTPS_PROXY_HOST
-
HTTPS_PROXY_PORT
public static final ProxySystemSetting HTTPS_PROXY_PORT
-
HTTPS_PROXY_USERNAME
public static final ProxySystemSetting HTTPS_PROXY_USERNAME
-
HTTPS_PROXY_PASSWORD
public static final ProxySystemSetting HTTPS_PROXY_PASSWORD
-
-
Method Detail
-
values
public static ProxySystemSetting[] 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 (ProxySystemSetting c : ProxySystemSetting.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProxySystemSetting 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
-
-