@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) |
<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 supported device.
|
Ec2AmiResource.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 amiId()
The ID of the AMI in Amazon EC2.
public String snowballAmiId()
The ID of the AMI on the supported device.
public Ec2AmiResource.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Ec2AmiResource.Builder,Ec2AmiResource>
public static Ec2AmiResource.Builder builder()
public static Class<? extends Ec2AmiResource.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.