@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 AMI ID and the Snowball Edge AMI ID. Each AMI has these two IDs to simplify identifying the AMI in both the AWS 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 Snowball Edge device.
|
Ec2AmiResource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String amiId()
The ID of the AMI in Amazon EC2.
public String snowballAmiId()
The ID of the AMI on the Snowball Edge 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.