@Generated(value="software.amazon.awssdk:codegen") public final class InstanceDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceDetails.Builder,InstanceDetails>
Contains information about the details of an instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
availabilityZone()
The availability zone of the EC2 instance.
|
static InstanceDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IamInstanceProfile |
iamInstanceProfile()
The profile information of the EC2 instance.
|
String |
imageDescription()
The image description of the EC2 instance.
|
String |
imageId()
The image ID of the EC2 instance.
|
String |
instanceId()
The ID of the EC2 instance.
|
String |
instanceState()
The state of the EC2 instance.
|
String |
instanceType()
The type of the EC2 instance.
|
String |
launchTime()
The launch time of the EC2 instance.
|
List<NetworkInterface> |
networkInterfaces()
The network interface information of the EC2 instance.
|
String |
platform()
The platform of the EC2 instance.
|
List<ProductCode> |
productCodes()
The product code of the EC2 instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceDetails.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The tags of the EC2 instance.
|
InstanceDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String availabilityZone()
The availability zone of the EC2 instance.
public IamInstanceProfile iamInstanceProfile()
The profile information of the EC2 instance.
public String imageDescription()
The image description of the EC2 instance.
public String imageId()
The image ID of the EC2 instance.
public String instanceId()
The ID of the EC2 instance.
public String instanceState()
The state of the EC2 instance.
public String instanceType()
The type of the EC2 instance.
public String launchTime()
The launch time of the EC2 instance.
public List<NetworkInterface> networkInterfaces()
The network interface information of the EC2 instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String platform()
The platform of the EC2 instance.
public List<ProductCode> productCodes()
The product code of the EC2 instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Tag> tags()
The tags of the EC2 instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public InstanceDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstanceDetails.Builder,InstanceDetails>public static InstanceDetails.Builder builder()
public static Class<? extends InstanceDetails.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.