com.atlassian.aws.ec2
Interface RemoteEC2Instance

All Superinterfaces:
EC2Instance
All Known Implementing Classes:
RemoteEC2InstanceImpl

public interface RemoteEC2Instance
extends EC2Instance

A remote EC2Instance.


Method Summary
 void addTag(String key, String value)
          Asynchronously adds an AWS tag to the instance.
 void asyncTerminate()
          Terminate this EC2 instance, asynchronously.
 InstanceLaunchConfiguration getInstanceConfiguration()
           
 String getInstanceId()
           
 InstanceStatus getInstanceStatus()
           
 boolean isBeingTerminated()
           
 void start()
          Start the instance
 

Method Detail

getInstanceId

String getInstanceId()
Specified by:
getInstanceId in interface EC2Instance
Returns:
The ID of this EC2 instance, or null if it is not yet available.

asyncTerminate

void asyncTerminate()

Terminate this EC2 instance, asynchronously.


isBeingTerminated

boolean isBeingTerminated()
Returns:
true if the instance is being terminated

start

void start()
Start the instance


addTag

void addTag(@NotNull
            String key,
            @NotNull
            String value)
Asynchronously adds an AWS tag to the instance.


getInstanceStatus

InstanceStatus getInstanceStatus()

getInstanceConfiguration

InstanceLaunchConfiguration getInstanceConfiguration()


Copyright © 2015 Atlassian. All rights reserved.