Package org.jclouds.aws.ec2.domain
Class AWSRunningInstance
- java.lang.Object
-
- org.jclouds.ec2.domain.RunningInstance
-
- org.jclouds.aws.ec2.domain.AWSRunningInstance
-
- All Implemented Interfaces:
Comparable<RunningInstance>
public class AWSRunningInstance extends RunningInstance
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AWSRunningInstance.Builder
static class
AWSRunningInstance.IAMInstanceProfile
-
Field Summary
-
Fields inherited from class org.jclouds.ec2.domain.RunningInstance
amiLaunchIndex, availabilityZone, dnsName, ebsBlockDevices, groupNames, imageId, instanceId, instanceState, instanceType, ipAddress, kernelId, keyName, launchTime, platform, privateDnsName, privateIpAddress, ramdiskId, rawState, reason, region, rootDeviceName, rootDeviceType, tags, virtualizationType
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AWSRunningInstance(String region, Map<String,String> securityGroupIdToNames, 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, MonitoringState monitoringState, String placementGroup, Iterable<String> productCodes, String subnetId, String spotInstanceRequestId, String vpcId, Hypervisor hypervisor, Map<String,String> tags, com.google.common.base.Optional<AWSRunningInstance.IAMInstanceProfile> iamInstanceProfile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AWSRunningInstance.Builder
builder()
Hypervisor
getHypervisor()
hypervisor of the VMcom.google.common.base.Optional<AWSRunningInstance.IAMInstanceProfile>
getIAMInstanceProfile()
The IAM Instance Profile (IIP) associated with the instance.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 requestString
getSubnetId()
Specifies the subnet ID in which the instance is running (Amazon Virtual Private Cloud).String
getVpcId()
Specifies the VPC in which the instance is running (Amazon Virtual Private Cloud).protected com.google.common.base.MoreObjects.ToStringHelper
string()
AWSRunningInstance.Builder
toBuilder()
-
Methods inherited from class org.jclouds.ec2.domain.RunningInstance
compareTo, equals, getAmiLaunchIndex, getAvailabilityZone, getDnsName, getEbsBlockDevices, getGroupNames, getId, getImageId, getInstanceState, getInstanceType, getIpAddress, getKernelId, getKeyName, getLaunchTime, getPlatform, getPrivateDnsName, getPrivateIpAddress, getRamdiskId, getRawState, getReason, getRegion, getRootDeviceName, getRootDeviceType, getTags, getVirtualizationType, hashCode, toString
-
-
-
-
Constructor Detail
-
AWSRunningInstance
protected AWSRunningInstance(String region, Map<String,String> securityGroupIdToNames, 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, MonitoringState monitoringState, String placementGroup, Iterable<String> productCodes, String subnetId, String spotInstanceRequestId, String vpcId, Hypervisor hypervisor, Map<String,String> tags, com.google.common.base.Optional<AWSRunningInstance.IAMInstanceProfile> iamInstanceProfile)
-
-
Method Detail
-
builder
public static AWSRunningInstance.Builder builder()
-
toBuilder
public AWSRunningInstance.Builder toBuilder()
- Overrides:
toBuilder
in classRunningInstance
-
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).
-
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).
-
getHypervisor
public Hypervisor getHypervisor()
hypervisor of the VM- See Also:
Hypervisor
-
getSubnetId
public String getSubnetId()
Specifies the subnet ID in which the instance is running (Amazon Virtual Private Cloud).
-
getIAMInstanceProfile
public com.google.common.base.Optional<AWSRunningInstance.IAMInstanceProfile> getIAMInstanceProfile()
The IAM Instance Profile (IIP) associated with the instance.
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
- Overrides:
string
in classRunningInstance
-
-