@Generated(value="software.amazon.awssdk:codegen") public final class Ami extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Ami.Builder,Ami>
Details of an EC2 AMI.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Ami.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The account ID of the owner of the AMI.
|
static Ami.Builder |
builder() |
String |
description()
The description of the EC2 AMI.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
image()
The AMI ID of the EC2 AMI.
|
String |
name()
The name of the EC2 AMI.
|
String |
region()
The AWS Region of the EC2 AMI.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Ami.Builder> |
serializableBuilderClass() |
ImageState |
state()
Returns the value of the State property for this object.
|
Ami.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String region()
The AWS Region of the EC2 AMI.
public String image()
The AMI ID of the EC2 AMI.
public String name()
The name of the EC2 AMI.
public String description()
The description of the EC2 AMI. Minimum and maximum length are in characters.
public ImageState state()
public String accountId()
The account ID of the owner of the AMI.
public Ami.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Ami.Builder,Ami>public static Ami.Builder builder()
public static Class<? extends Ami.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.