@Generated(value="software.amazon.awssdk:codegen") public final class Ami extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Ami.Builder,Ami>
Details of an Amazon 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 Amazon 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 Amazon EC2 AMI.
|
String |
name()
The name of the Amazon EC2 AMI.
|
String |
region()
The Amazon Web Services Region of the Amazon 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 final String region()
The Amazon Web Services Region of the Amazon EC2 AMI.
public final String image()
The AMI ID of the Amazon EC2 AMI.
public final String name()
The name of the Amazon EC2 AMI.
public final String description()
The description of the Amazon EC2 AMI. Minimum and maximum length are in characters.
public final ImageState state()
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.