public class MockRemoteEC2Instance extends Object implements com.atlassian.aws.ec2.RemoteEC2Instance
| Constructor and Description |
|---|
MockRemoteEC2Instance() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTag(String key,
String value) |
void |
asyncTerminate() |
com.atlassian.aws.ec2.InstanceLaunchConfiguration |
getInstanceConfiguration() |
String |
getInstanceId() |
com.atlassian.aws.ec2.InstanceStatus |
getInstanceStatus() |
boolean |
isBeingTerminated() |
void |
reconnectToRunningInstance(@NotNull com.amazonaws.services.ec2.model.Instance instance) |
void |
start() |
public String getInstanceId()
getInstanceId in interface com.atlassian.aws.ec2.EC2InstancegetInstanceId in interface com.atlassian.aws.ec2.RemoteEC2Instancepublic void asyncTerminate()
asyncTerminate in interface com.atlassian.aws.ec2.RemoteEC2Instancepublic boolean isBeingTerminated()
isBeingTerminated in interface com.atlassian.aws.ec2.RemoteEC2Instancepublic void start()
start in interface com.atlassian.aws.ec2.RemoteEC2Instancepublic void addTag(String key, String value)
addTag in interface com.atlassian.aws.ec2.RemoteEC2Instancepublic com.atlassian.aws.ec2.InstanceStatus getInstanceStatus()
getInstanceStatus in interface com.atlassian.aws.ec2.RemoteEC2Instancepublic com.atlassian.aws.ec2.InstanceLaunchConfiguration getInstanceConfiguration()
getInstanceConfiguration in interface com.atlassian.aws.ec2.RemoteEC2Instancepublic void reconnectToRunningInstance(@NotNull
@NotNull com.amazonaws.services.ec2.model.Instance instance)
reconnectToRunningInstance in interface com.atlassian.aws.ec2.RemoteEC2InstanceCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.