@Generated(value="software.amazon.awssdk:codegen") public final class Ec2AmiResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Ec2AmiResource.Builder,Ec2AmiResource>
A JSON-formatted object that contains the IDs for an Amazon Machine Image (AMI), including the Amazon EC2-compatible AMI ID and the Snow device AMI ID. Each AMI has these two IDs to simplify identifying the AMI in both the Amazon Web Services Cloud and on the device.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Ec2AmiResource.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
amiId()
The ID of the AMI in Amazon EC2.
|
static Ec2AmiResource.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Ec2AmiResource.Builder> |
serializableBuilderClass() |
String |
snowballAmiId()
The ID of the AMI on the Snow device.
|
Ec2AmiResource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String amiId()
The ID of the AMI in Amazon EC2.
public final String snowballAmiId()
The ID of the AMI on the Snow device.
public Ec2AmiResource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Ec2AmiResource.Builder,Ec2AmiResource>public static Ec2AmiResource.Builder builder()
public static Class<? extends Ec2AmiResource.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.