Package com.treasuredata.client
Enum TDClientConfig.Type
- java.lang.Object
-
- java.lang.Enum<TDClientConfig.Type>
-
- com.treasuredata.client.TDClientConfig.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<TDClientConfig.Type>
- Enclosing class:
- TDClientConfig
public static enum TDClientConfig.Type extends Enum<TDClientConfig.Type>
Keys for configuring TDClient with a properties file (or System properties)
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description String
description
String
key
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TDClientConfig.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static TDClientConfig.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APIKEY
public static final TDClientConfig.Type APIKEY
-
USER
public static final TDClientConfig.Type USER
-
PASSOWRD
public static final TDClientConfig.Type PASSOWRD
-
USESSL
public static final TDClientConfig.Type USESSL
-
API_ENDPOINT
public static final TDClientConfig.Type API_ENDPOINT
-
API_PORT
public static final TDClientConfig.Type API_PORT
-
RETRY_LIMIT
public static final TDClientConfig.Type RETRY_LIMIT
-
RETRY_INITIAL_INTERVAL_MILLIS
public static final TDClientConfig.Type RETRY_INITIAL_INTERVAL_MILLIS
-
RETRY_MAX_INTERVAL_MILLIS
public static final TDClientConfig.Type RETRY_MAX_INTERVAL_MILLIS
-
RETRY_MULTIPLIER
public static final TDClientConfig.Type RETRY_MULTIPLIER
-
CONNECT_TIMEOUT_MILLIS
public static final TDClientConfig.Type CONNECT_TIMEOUT_MILLIS
-
READ_TIMEOUT_MILLIS
public static final TDClientConfig.Type READ_TIMEOUT_MILLIS
-
CONNECTION_POOL_SIZE
public static final TDClientConfig.Type CONNECTION_POOL_SIZE
-
PROXY_HOST
public static final TDClientConfig.Type PROXY_HOST
-
PROXY_PORT
public static final TDClientConfig.Type PROXY_PORT
-
PROXY_USER
public static final TDClientConfig.Type PROXY_USER
-
PROXY_PASSWORD
public static final TDClientConfig.Type PROXY_PASSWORD
-
PROXY_USESSL
public static final TDClientConfig.Type PROXY_USESSL
-
-
Method Detail
-
values
public static TDClientConfig.Type[] 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 (TDClientConfig.Type c : TDClientConfig.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TDClientConfig.Type 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
-
-