@Generated(value="software.amazon.awssdk:codegen") public final class AwsEc2InstanceDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2InstanceDetails.Builder,AwsEc2InstanceDetails>
The details of an AWS EC2 instance.
Modifier and Type | Class and Description |
---|---|
static interface |
AwsEc2InstanceDetails.Builder |
Modifier and Type | Method and Description |
---|---|
static AwsEc2InstanceDetails.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iamInstanceProfileArn()
The IAM profile ARN of the instance.
|
String |
imageId()
The Amazon Machine Image (AMI) ID of the instance.
|
List<String> |
ipV4Addresses()
The IPv4 addresses associated with the instance.
|
List<String> |
ipV6Addresses()
The IPv6 addresses associated with the instance.
|
String |
keyName()
The key name associated with the instance.
|
String |
launchedAt()
The date/time the instance was launched.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsEc2InstanceDetails.Builder> |
serializableBuilderClass() |
String |
subnetId()
The identifier of the subnet in which the instance was launched.
|
AwsEc2InstanceDetails.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
type()
The instance type of the instance.
|
String |
vpcId()
The identifier of the VPC in which the instance was launched.
|
copy
public String type()
The instance type of the instance.
public String imageId()
The Amazon Machine Image (AMI) ID of the instance.
public List<String> ipV4Addresses()
The IPv4 addresses associated with the instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> ipV6Addresses()
The IPv6 addresses associated with the instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String keyName()
The key name associated with the instance.
public String iamInstanceProfileArn()
The IAM profile ARN of the instance.
public String vpcId()
The identifier of the VPC in which the instance was launched.
public String subnetId()
The identifier of the subnet in which the instance was launched.
public String launchedAt()
The date/time the instance was launched.
public AwsEc2InstanceDetails.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AwsEc2InstanceDetails.Builder,AwsEc2InstanceDetails>
public static AwsEc2InstanceDetails.Builder builder()
public static Class<? extends AwsEc2InstanceDetails.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.