Class Ami
- java.lang.Object
-
- software.amazon.awssdk.services.imagebuilder.model.Ami
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Ami.Builder,Ami>
@Generated("software.amazon.awssdk:codegen") public final class Ami extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Ami.Builder,Ami>
Details of an Amazon EC2 AMI.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAmi.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The account ID of the owner of the AMI.static Ami.Builderbuilder()Stringdescription()The description of the Amazon EC2 AMI.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringimage()The AMI ID of the Amazon EC2 AMI.Stringname()The name of the Amazon EC2 AMI.Stringregion()The Amazon Web Services Region of the Amazon EC2 AMI.List<SdkField<?>>sdkFields()static Class<? extends Ami.Builder>serializableBuilderClass()ImageStatestate()Returns the value of the State property for this object.Ami.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
region
public final String region()
The Amazon Web Services Region of the Amazon EC2 AMI.
- Returns:
- The Amazon Web Services Region of the Amazon EC2 AMI.
-
image
public final String image()
The AMI ID of the Amazon EC2 AMI.
- Returns:
- The AMI ID of the Amazon EC2 AMI.
-
name
public final String name()
The name of the Amazon EC2 AMI.
- Returns:
- The name of the Amazon EC2 AMI.
-
description
public final String description()
The description of the Amazon EC2 AMI. Minimum and maximum length are in characters.
- Returns:
- The description of the Amazon EC2 AMI. Minimum and maximum length are in characters.
-
state
public final ImageState state()
Returns the value of the State property for this object.- Returns:
- The value of the State property for this object.
-
accountId
public final String accountId()
The account ID of the owner of the AMI.
- Returns:
- The account ID of the owner of the AMI.
-
toBuilder
public Ami.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Ami.Builder,Ami>
-
builder
public static Ami.Builder builder()
-
serializableBuilderClass
public static Class<? extends Ami.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-