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>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
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
ConstructorsModifierConstructorDescriptionprotected
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
Modifier and TypeMethodDescriptionstatic AWSRunningInstance.Builder
builder()
hypervisor of the VMcom.google.common.base.Optional
<AWSRunningInstance.IAMInstanceProfile> The IAM Instance Profile (IIP) associated with the instance.State of monitoring for the instance.The name of the placement group the instance is in (for cluster compute instances).Product codes attached to this instance.The ID of the Spot Instance requestSpecifies the subnet ID in which the instance is running (Amazon Virtual Private Cloud).getVpcId()
Specifies the VPC in which the instance is running (Amazon Virtual Private Cloud).protected com.google.common.base.MoreObjects.ToStringHelper
string()
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 Details
-
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 Details
-
builder
-
toBuilder
- Overrides:
toBuilder
in classRunningInstance
-
getSecurityGroupIdToNames
-
getMonitoringState
State of monitoring for the instance. -
getPlacementGroup
The name of the placement group the instance is in (for cluster compute instances). -
getProductCodes
Product codes attached to this instance. -
getSpotInstanceRequestId
The ID of the Spot Instance request -
getVpcId
Specifies the VPC in which the instance is running (Amazon Virtual Private Cloud). -
getHypervisor
hypervisor of the VM- See Also:
-
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
-