public class EC2Info extends Object
Modifier and Type | Field and Description |
---|---|
String |
instanceId |
String |
instanceType |
String |
machineImage |
String |
privateIp |
String |
region |
Constructor and Description |
---|
EC2Info()
Empty constructor, which will be called during deserialization from JSON.
|
Modifier and Type | Method and Description |
---|---|
void |
fetchMetadata()
This will attempt to retrieve metadata about the instance this code is running on.
|
public String region
public String instanceId
public String instanceType
public String machineImage
public String privateIp
Copyright © 2019. All rights reserved.