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_HOST
HTTPS_PROXY_PASSWORD
HTTPS_PROXY_PORT
HTTPS_PROXY_USERNAME
NON_PROXY_HOSTS
PROXY_HOST
PROXY_PASSWORD
PROXY_PORT
PROXY_USERNAME
-
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 ProxySystemSetting
valueOf(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: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
-
-