@Generated(value="software.amazon.awssdk:codegen") public class InstanceDetails extends Object implements StructuredPojo, ToCopyableBuilder<InstanceDetails.Builder,InstanceDetails>
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IamInstanceProfile |
iamInstanceProfile()
Returns the value of the IamInstanceProfile property for this object.
|
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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
static Class<? extends InstanceDetails.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The tags of the EC2 instance.
|
InstanceDetails.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String availabilityZone()
public IamInstanceProfile iamInstanceProfile()
public String imageId()
public String instanceId()
public String instanceState()
public String instanceType()
public String launchTime()
public List<NetworkInterface> networkInterfaces()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String platform()
public List<ProductCode> productCodes()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Tag> tags()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public InstanceDetails.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceDetails.Builder,InstanceDetails>
public static InstanceDetails.Builder builder()
public static Class<? extends InstanceDetails.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.