Package org.jclouds.ec2.domain
Class RunningInstance
java.lang.Object
org.jclouds.ec2.domain.RunningInstance
- All Implemented Interfaces:
Comparable<RunningInstance>
- Direct Known Subclasses:
AWSRunningInstance
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
RunningInstance.Builder<T extends RunningInstance.Builder<T>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final String
protected final String
protected final String
protected final Map
<String, BlockDevice> protected final String
protected final String
protected final InstanceState
protected final String
protected final String
protected final String
protected final String
protected final Date
protected final String
protected final String
protected final String
protected final String
protected final String
protected final String
protected final String
protected final String
protected final RootDeviceType
protected final String
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
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) -
Method Summary
Modifier and TypeMethodDescriptionstatic RunningInstance.Builder
<?> builder()
int
compareTo
(RunningInstance other) boolean
The AMI launch index, which can be used to find this instance within the launch group.The location where the instance launched.The public DNS name assigned to the instance.EBS volumes associated with the instance.Names of the security groups.getId()
Unique ID of the instance launched.Image ID of the AMI used to launch the instance.The current state of the instance.The instance type.Specifies the IP address of the instance.Optional.If this instance was launched with an associated key pair, this displays the key pair name.The time the instance launched.Platform of the instance (e.g., Windows).The private DNS name assigned to the instance.Specifies the private IP address that is assigned to the instance (Amazon VPC).Optional.The current state of the instance, as returned literally from the input XMLReason for the most recent state transition.Deprecated.getTags()
tags that are present in the instanceSpecifies the instance's virtualization type.int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
toString()
-
Field Details
-
region
-
groupNames
-
amiLaunchIndex
-
dnsName
-
imageId
-
instanceId
-
instanceState
-
rawState
-
instanceType
-
ipAddress
-
kernelId
-
keyName
-
launchTime
-
availabilityZone
-
virtualizationType
-
platform
-
privateDnsName
-
privateIpAddress
-
ramdiskId
-
reason
-
rootDeviceType
-
rootDeviceName
-
ebsBlockDevices
-
tags
-
-
Constructor Details
-
RunningInstance
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)
-
-
Method Details
-
builder
-
toBuilder
-
getRegion
Deprecated.To be removed in jclouds 1.6Warning
Especially on EC2 clones that may not support regions, this value is fragile. Consider alternate means to determine context. -
getAmiLaunchIndex
The AMI launch index, which can be used to find this instance within the launch group. For more information, go to the Metadata section of the Amazon Elastic Compute Cloud Developer Guide.- See Also:
-
getDnsName
The public DNS name assigned to the instance. This DNS name is contactable from outside the Amazon EC2 network. This element remains empty until the instance enters a running state. -
getImageId
Image ID of the AMI used to launch the instance. -
getId
Unique ID of the instance launched. -
getInstanceState
The current state of the instance. -
getRawState
The current state of the instance, as returned literally from the input XML -
getInstanceType
The instance type. -
getIpAddress
Specifies the IP address of the instance. -
getKernelId
Optional. Kernel associated with this instance. -
getKeyName
If this instance was launched with an associated key pair, this displays the key pair name. -
getLaunchTime
The time the instance launched. -
getAvailabilityZone
The location where the instance launched. -
getVirtualizationType
Specifies the instance's virtualization type. Valid values are paravirtual or hvm. -
getPlatform
Platform of the instance (e.g., Windows). -
getPrivateDnsName
The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This element remains empty until the instance enters a running state. -
getPrivateIpAddress
Specifies the private IP address that is assigned to the instance (Amazon VPC). -
getRamdiskId
Optional. RAM disk associated with this instance. -
getReason
Reason for the most recent state transition. This might be an empty string. -
getRootDeviceType
-
getRootDeviceName
-
getEbsBlockDevices
EBS volumes associated with the instance. -
getGroupNames
Names of the security groups. -
getTags
tags that are present in the instance -
compareTo
- Specified by:
compareTo
in interfaceComparable<RunningInstance>
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-