org.jclouds.aws.ec2.domain
Class AWSRunningInstance

java.lang.Object
  extended by org.jclouds.ec2.domain.RunningInstance
      extended by org.jclouds.aws.ec2.domain.AWSRunningInstance
All Implemented Interfaces:
Comparable<RunningInstance>

public class AWSRunningInstance
extends RunningInstance

Author:
Adrian Cole
See Also:

Nested Class Summary
static class AWSRunningInstance.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.ec2.domain.RunningInstance
amiLaunchIndex, availabilityZone, dnsName, ebsBlockDevices, groupIds, imageId, instanceId, instanceState, instanceType, ipAddress, kernelId, keyName, launchTime, platform, privateDnsName, privateIpAddress, ramdiskId, reason, region, rootDeviceName, rootDeviceType, virtualizationType
 
Constructor Summary
protected AWSRunningInstance(String region, Map<String,String> securityGroupIdToNames, String amiLaunchIndex, String dnsName, String imageId, String instanceId, InstanceState instanceState, String instanceType, String ipAddress, String kernelId, String keyName, Date launchTime, String availabilityZone, String virtualizationType, String platform, String privateDnsName, String privateIpAddress, String ramdiskId, String reason, RootDeviceType rootDeviceType, String rootDeviceName, Map<String,BlockDevice> ebsBlockDevices, MonitoringState monitoringState, String placementGroup, Iterable<String> productCodes, String subnetId, String spotInstanceRequestId, String vpcId, Map<String,String> tags)
           
 
Method Summary
static AWSRunningInstance.Builder builder()
           
 boolean equals(Object obj)
           
 MonitoringState getMonitoringState()
          State of monitoring for the instance.
 String getPlacementGroup()
          The name of the placement group the instance is in (for cluster compute instances).
 Set<String> getProductCodes()
          Product codes attached to this instance.
 Map<String,String> getSecurityGroupIdToNames()
           
 String getSpotInstanceRequestId()
          The ID of the Spot Instance request
 String getSubnetId()
          Specifies the subnet ID in which the instance is running (Amazon Virtual Private Cloud).
 Map<String,String> getTags()
          tags that are present in the instance
 String getVpcId()
          Specifies the VPC in which the instance is running (Amazon Virtual Private Cloud).
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jclouds.ec2.domain.RunningInstance
compareTo, getAmiLaunchIndex, getAvailabilityZone, getDnsName, getEbsBlockDevices, getGroupIds, getId, getImageId, getInstanceState, getInstanceType, getIpAddress, getKernelId, getKeyName, getLaunchTime, getPlatform, getPrivateDnsName, getPrivateIpAddress, getRamdiskId, getReason, getRegion, getRootDeviceName, getRootDeviceType, getVirtualizationType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AWSRunningInstance

protected AWSRunningInstance(String region,
                             Map<String,String> securityGroupIdToNames,
                             String amiLaunchIndex,
                             String dnsName,
                             String imageId,
                             String instanceId,
                             InstanceState instanceState,
                             String instanceType,
                             String ipAddress,
                             String kernelId,
                             String keyName,
                             Date launchTime,
                             String availabilityZone,
                             String virtualizationType,
                             String platform,
                             String privateDnsName,
                             String privateIpAddress,
                             String ramdiskId,
                             String reason,
                             RootDeviceType rootDeviceType,
                             String rootDeviceName,
                             Map<String,BlockDevice> ebsBlockDevices,
                             MonitoringState monitoringState,
                             String placementGroup,
                             Iterable<String> productCodes,
                             String subnetId,
                             String spotInstanceRequestId,
                             String vpcId,
                             Map<String,String> tags)
Method Detail

builder

public static AWSRunningInstance.Builder builder()

getSecurityGroupIdToNames

public Map<String,String> getSecurityGroupIdToNames()

getMonitoringState

public MonitoringState getMonitoringState()
State of monitoring for the instance.


getPlacementGroup

public String getPlacementGroup()
The name of the placement group the instance is in (for cluster compute instances).


getProductCodes

public Set<String> getProductCodes()
Product codes attached to this instance.


getSpotInstanceRequestId

public String getSpotInstanceRequestId()
The ID of the Spot Instance request


getVpcId

public String getVpcId()
Specifies the VPC in which the instance is running (Amazon Virtual Private Cloud).


getSubnetId

public String getSubnetId()
Specifies the subnet ID in which the instance is running (Amazon Virtual Private Cloud).


getTags

public Map<String,String> getTags()
tags that are present in the instance


hashCode

public int hashCode()
Overrides:
hashCode in class RunningInstance

equals

public boolean equals(Object obj)
Overrides:
equals in class RunningInstance

toString

public String toString()
Overrides:
toString in class RunningInstance


Copyright © 2009-2011 jclouds. All Rights Reserved.