Class ElasticAccountManagementServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.agent.elastic.server.ElasticAccountManagementServiceImpl
-
- All Implemented Interfaces:
ElasticAccountManagementService
public class ElasticAccountManagementServiceImpl extends Object implements ElasticAccountManagementService
-
-
Constructor Summary
Constructors Constructor Description ElasticAccountManagementServiceImpl(AwsAccountBean awsAccountBean, AgentManager agentManager, ElasticInstanceManager elasticInstanceManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Collection<com.amazonaws.services.ec2.model.Instance>
getDisconnectedElasticInstances()
Retrieve a list of running instances on your AWS account that were started by Bamboo, but are no longer connected to Bamboo@NotNull Collection<com.amazonaws.services.ec2.model.Instance>
getUnrelatedElasticInstances()
Retrieve a list of running instances on your AWS account that were not started by bamboo
-
-
-
Constructor Detail
-
ElasticAccountManagementServiceImpl
public ElasticAccountManagementServiceImpl(AwsAccountBean awsAccountBean, AgentManager agentManager, ElasticInstanceManager elasticInstanceManager)
-
-
Method Detail
-
getDisconnectedElasticInstances
@NotNull public @NotNull Collection<com.amazonaws.services.ec2.model.Instance> getDisconnectedElasticInstances() throws com.atlassian.aws.AWSException
Description copied from interface:ElasticAccountManagementService
Retrieve a list of running instances on your AWS account that were started by Bamboo, but are no longer connected to Bamboo- Specified by:
getDisconnectedElasticInstances
in interfaceElasticAccountManagementService
- Returns:
- Throws:
com.atlassian.aws.AWSException
-
getUnrelatedElasticInstances
@NotNull public @NotNull Collection<com.amazonaws.services.ec2.model.Instance> getUnrelatedElasticInstances() throws com.atlassian.aws.AWSException
Description copied from interface:ElasticAccountManagementService
Retrieve a list of running instances on your AWS account that were not started by bamboo- Specified by:
getUnrelatedElasticInstances
in interfaceElasticAccountManagementService
- Returns:
- Throws:
com.atlassian.aws.AWSException
-
-