Class EC2Configuration
- java.lang.Object
-
- org.apache.camel.component.aws.ec2.EC2Configuration
-
-
Constructor Summary
Constructors Constructor Description EC2Configuration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EC2Configurationcopy()StringgetAccessKey()com.amazonaws.services.ec2.AmazonEC2getAmazonEc2Client()EC2OperationsgetOperation()StringgetProxyHost()IntegergetProxyPort()com.amazonaws.ProtocolgetProxyProtocol()StringgetRegion()StringgetSecretKey()voidsetAccessKey(String accessKey)Amazon AWS Access KeyvoidsetAmazonEc2Client(com.amazonaws.services.ec2.AmazonEC2 amazonEc2Client)To use a existing configured AmazonEC2Client as clientvoidsetOperation(EC2Operations operation)The operation to perform.voidsetProxyHost(String proxyHost)To define a proxy host when instantiating the EC2 clientvoidsetProxyPort(Integer proxyPort)To define a proxy port when instantiating the EC2 clientvoidsetProxyProtocol(com.amazonaws.Protocol proxyProtocol)To define a proxy protocol when instantiating the EC2 clientvoidsetRegion(String region)The region in which ECS client needs to work.voidsetSecretKey(String secretKey)Amazon AWS Secret Key
-
-
-
Method Detail
-
getAmazonEc2Client
public com.amazonaws.services.ec2.AmazonEC2 getAmazonEc2Client()
-
setAmazonEc2Client
public void setAmazonEc2Client(com.amazonaws.services.ec2.AmazonEC2 amazonEc2Client)
To use a existing configured AmazonEC2Client 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 EC2Operations getOperation()
-
setOperation
public void setOperation(EC2Operations operation)
The operation to perform. It can be createAndRunInstances, startInstances, stopInstances, terminateInstances, describeInstances, describeInstancesStatus, rebootInstances, monitorInstances, unmonitorInstances, createTags or deleteTags
-
getProxyProtocol
public com.amazonaws.Protocol getProxyProtocol()
-
setProxyProtocol
public void setProxyProtocol(com.amazonaws.Protocol proxyProtocol)
To define a proxy protocol when instantiating the EC2 client
-
getProxyHost
public String getProxyHost()
-
setProxyHost
public void setProxyHost(String proxyHost)
To define a proxy host when instantiating the EC2 client
-
getProxyPort
public Integer getProxyPort()
-
setProxyPort
public void setProxyPort(Integer proxyPort)
To define a proxy port when instantiating the EC2 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 lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id()
-
copy
public EC2Configuration copy()
-
-