public class RunningInstance extends Object implements Comparable<RunningInstance>
Modifier and Type | Class and Description |
---|---|
static class |
RunningInstance.Builder<T extends RunningInstance.Builder<T>> |
Modifier and Type | Field and Description |
---|---|
protected String |
amiLaunchIndex |
protected String |
availabilityZone |
protected String |
dnsName |
protected Map<String,BlockDevice> |
ebsBlockDevices |
protected Set<String> |
groupNames |
protected String |
imageId |
protected String |
instanceId |
protected InstanceState |
instanceState |
protected String |
instanceType |
protected String |
ipAddress |
protected String |
kernelId |
protected String |
keyName |
protected Date |
launchTime |
protected String |
platform |
protected String |
privateDnsName |
protected String |
privateIpAddress |
protected String |
ramdiskId |
protected String |
rawState |
protected String |
reason |
protected String |
region |
protected String |
rootDeviceName |
protected RootDeviceType |
rootDeviceType |
protected Map<String,String> |
tags |
protected String |
virtualizationType |
Modifier | Constructor and Description |
---|---|
protected |
RunningInstance(String region,
Iterable<String> groupNames,
String amiLaunchIndex,
String dnsName,
String imageId,
String instanceId,
InstanceState instanceState,
String rawState,
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,
Map<String,String> tags) |
Modifier and Type | Method and Description |
---|---|
static RunningInstance.Builder<?> |
builder() |
int |
compareTo(RunningInstance other) |
boolean |
equals(Object obj) |
String |
getAmiLaunchIndex()
The AMI launch index, which can be used to find this instance within the launch group.
|
String |
getAvailabilityZone()
The location where the instance launched.
|
String |
getDnsName()
The public DNS name assigned to the instance.
|
Map<String,BlockDevice> |
getEbsBlockDevices()
EBS volumes associated with the instance.
|
Set<String> |
getGroupNames()
Names of the security groups.
|
String |
getId()
Unique ID of the instance launched.
|
String |
getImageId()
Image ID of the AMI used to launch the instance.
|
InstanceState |
getInstanceState()
The current state of the instance.
|
String |
getInstanceType()
The instance type.
|
String |
getIpAddress()
Specifies the IP address of the instance.
|
String |
getKernelId()
Optional.
|
String |
getKeyName()
If this instance was launched with an associated key pair, this displays the key pair name.
|
Date |
getLaunchTime()
The time the instance launched.
|
String |
getPlatform()
Platform of the instance (e.g., Windows).
|
String |
getPrivateDnsName()
The private DNS name assigned to the instance.
|
String |
getPrivateIpAddress()
Specifies the private IP address that is assigned to the instance (Amazon VPC).
|
String |
getRamdiskId()
Optional.
|
String |
getRawState()
The current state of the instance, as returned literally from the input XML
|
String |
getReason()
Reason for the most recent state transition.
|
String |
getRegion()
Deprecated.
|
String |
getRootDeviceName() |
RootDeviceType |
getRootDeviceType() |
Map<String,String> |
getTags()
tags that are present in the instance
|
String |
getVirtualizationType()
Specifies the instance's virtualization type.
|
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
RunningInstance.Builder<?> |
toBuilder() |
String |
toString() |
protected final String region
protected final String amiLaunchIndex
protected final String imageId
protected final String instanceId
protected final InstanceState instanceState
protected final String rawState
protected final String instanceType
protected final Date launchTime
protected final String availabilityZone
protected final String virtualizationType
protected final RootDeviceType rootDeviceType
protected final Map<String,BlockDevice> ebsBlockDevices
protected RunningInstance(String region, Iterable<String> groupNames, @Nullable String amiLaunchIndex, @Nullable String dnsName, String imageId, String instanceId, InstanceState instanceState, String rawState, String instanceType, @Nullable String ipAddress, @Nullable String kernelId, @Nullable String keyName, Date launchTime, String availabilityZone, String virtualizationType, @Nullable String platform, @Nullable String privateDnsName, @Nullable String privateIpAddress, @Nullable String ramdiskId, @Nullable String reason, RootDeviceType rootDeviceType, @Nullable String rootDeviceName, Map<String,BlockDevice> ebsBlockDevices, Map<String,String> tags)
public static RunningInstance.Builder<?> builder()
public RunningInstance.Builder<?> toBuilder()
@Deprecated public String getRegion()
public String getAmiLaunchIndex()
public String getDnsName()
public String getImageId()
public String getId()
public InstanceState getInstanceState()
public String getRawState()
public String getInstanceType()
public String getIpAddress()
public String getKernelId()
public String getKeyName()
public Date getLaunchTime()
public String getAvailabilityZone()
public String getVirtualizationType()
public String getPlatform()
public String getPrivateDnsName()
public String getPrivateIpAddress()
public String getRamdiskId()
public String getReason()
public RootDeviceType getRootDeviceType()
public String getRootDeviceName()
public Map<String,BlockDevice> getEbsBlockDevices()
public int compareTo(RunningInstance other)
compareTo
in interface Comparable<RunningInstance>
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.