public class AWSRunningInstance extends RunningInstance
Modifier and Type | Class and Description |
---|---|
static class |
AWSRunningInstance.Builder |
static class |
AWSRunningInstance.IAMInstanceProfile |
amiLaunchIndex, availabilityZone, dnsName, ebsBlockDevices, groupNames, imageId, instanceId, instanceState, instanceType, ipAddress, kernelId, keyName, launchTime, platform, privateDnsName, privateIpAddress, ramdiskId, rawState, reason, region, rootDeviceName, rootDeviceType, tags, virtualizationType
Modifier | Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
static AWSRunningInstance.Builder |
builder() |
Hypervisor |
getHypervisor()
hypervisor of the VM
|
com.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 request
|
String |
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.Objects.ToStringHelper |
string() |
AWSRunningInstance.Builder |
toBuilder() |
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
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)
public static AWSRunningInstance.Builder builder()
public AWSRunningInstance.Builder toBuilder()
toBuilder
in class RunningInstance
public MonitoringState getMonitoringState()
public String getPlacementGroup()
public String getSpotInstanceRequestId()
public String getVpcId()
public Hypervisor getHypervisor()
Hypervisor
public String getSubnetId()
public com.google.common.base.Optional<AWSRunningInstance.IAMInstanceProfile> getIAMInstanceProfile()
protected com.google.common.base.Objects.ToStringHelper string()
string
in class RunningInstance
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.