public static enum AWSClientConfig.AWSClientConfigurationPropertyToken extends Enum<AWSClientConfig.AWSClientConfigurationPropertyToken> implements com.cloudera.director.spi.v1.model.ConfigurationPropertyToken
Enum Constant and Description |
---|
CONNECTION_TIMEOUT_IN_MILLISECONDS
The amount of time to wait (in milliseconds) when initially establishing a connection before
giving up and timing out.
|
MAX_ERROR_RETRIES
The maximum number of retry attempts for failed retryable requests.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
setFieldValue(AWSClientConfig clientConfig,
String propertyValue)
Sets the value of the corresponding field on the AWS client config using the specified value.
|
com.cloudera.director.spi.v1.model.ConfigurationProperty |
unwrap()
Returns the configuration property.
|
static AWSClientConfig.AWSClientConfigurationPropertyToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AWSClientConfig.AWSClientConfigurationPropertyToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AWSClientConfig.AWSClientConfigurationPropertyToken MAX_ERROR_RETRIES
public static final AWSClientConfig.AWSClientConfigurationPropertyToken CONNECTION_TIMEOUT_IN_MILLISECONDS
public static AWSClientConfig.AWSClientConfigurationPropertyToken[] values()
for (AWSClientConfig.AWSClientConfigurationPropertyToken c : AWSClientConfig.AWSClientConfigurationPropertyToken.values()) System.out.println(c);
public static AWSClientConfig.AWSClientConfigurationPropertyToken valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic com.cloudera.director.spi.v1.model.ConfigurationProperty unwrap()
unwrap
in interface com.cloudera.director.spi.v1.model.ConfigurationPropertyToken
protected abstract void setFieldValue(AWSClientConfig clientConfig, String propertyValue)
clientConfig
- the AWS client configpropertyValue
- the property value, which is known to be non-null
Copyright © 2016. All rights reserved.