Class ECSConfiguration
- java.lang.Object
-
- org.apache.camel.component.aws.ecs.ECSConfiguration
-
-
Constructor Summary
Constructors Constructor Description ECSConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ECSConfiguration
copy()
String
getAccessKey()
com.amazonaws.services.ecs.AmazonECS
getEcsClient()
ECSOperations
getOperation()
String
getProxyHost()
Integer
getProxyPort()
com.amazonaws.Protocol
getProxyProtocol()
String
getRegion()
String
getSecretKey()
boolean
isAutoDiscoverClient()
void
setAccessKey(String accessKey)
Amazon AWS Access Keyvoid
setAutoDiscoverClient(boolean autoDiscoverClient)
Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking.void
setEcsClient(com.amazonaws.services.ecs.AmazonECS ecsClient)
To use a existing configured AWS ECS as clientvoid
setOperation(ECSOperations operation)
The operation to performvoid
setProxyHost(String proxyHost)
To define a proxy host when instantiating the ECS clientvoid
setProxyPort(Integer proxyPort)
To define a proxy port when instantiating the ECS clientvoid
setProxyProtocol(com.amazonaws.Protocol proxyProtocol)
To define a proxy protocol when instantiating the ECS clientvoid
setRegion(String region)
The region in which ECS client needs to work.void
setSecretKey(String secretKey)
Amazon AWS Secret Key
-
-
-
Method Detail
-
getEcsClient
public com.amazonaws.services.ecs.AmazonECS getEcsClient()
-
setEcsClient
public void setEcsClient(com.amazonaws.services.ecs.AmazonECS ecsClient)
To use a existing configured AWS ECS as client
-
getAccessKey
public String getAccessKey()
-
setAccessKey
public void setAccessKey(String accessKey)
Amazon AWS Access Key
-
getSecretKey
public String getSecretKey()
-
setSecretKey
public void setSecretKey(String secretKey)
Amazon AWS Secret Key
-
getOperation
public ECSOperations getOperation()
-
setOperation
public void setOperation(ECSOperations operation)
The operation to perform
-
getProxyProtocol
public com.amazonaws.Protocol getProxyProtocol()
-
setProxyProtocol
public void setProxyProtocol(com.amazonaws.Protocol proxyProtocol)
To define a proxy protocol when instantiating the ECS client
-
getProxyHost
public String getProxyHost()
-
setProxyHost
public void setProxyHost(String proxyHost)
To define a proxy host when instantiating the ECS client
-
getProxyPort
public Integer getProxyPort()
-
setProxyPort
public void setProxyPort(Integer proxyPort)
To define a proxy port when instantiating the ECS client
-
getRegion
public String getRegion()
-
setRegion
public void setRegion(String region)
The region in which ECS client needs to work. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name()
-
isAutoDiscoverClient
public boolean isAutoDiscoverClient()
-
setAutoDiscoverClient
public void setAutoDiscoverClient(boolean autoDiscoverClient)
Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking.
-
copy
public ECSConfiguration copy()
-
-