Class ImageRecycleBinInfo

java.lang.Object
software.amazon.awssdk.services.ec2.model.ImageRecycleBinInfo
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<ImageRecycleBinInfo.Builder,ImageRecycleBinInfo>

@Generated("software.amazon.awssdk:codegen") public final class ImageRecycleBinInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImageRecycleBinInfo.Builder,ImageRecycleBinInfo>

Information about an AMI that is currently in the Recycle Bin.

See Also:
  • Method Details

    • imageId

      public final String imageId()

      The ID of the AMI.

      Returns:
      The ID of the AMI.
    • name

      public final String name()

      The name of the AMI.

      Returns:
      The name of the AMI.
    • description

      public final String description()

      The description of the AMI.

      Returns:
      The description of the AMI.
    • recycleBinEnterTime

      public final Instant recycleBinEnterTime()

      The date and time when the AMI entered the Recycle Bin.

      Returns:
      The date and time when the AMI entered the Recycle Bin.
    • recycleBinExitTime

      public final Instant recycleBinExitTime()

      The date and time when the AMI is to be permanently deleted from the Recycle Bin.

      Returns:
      The date and time when the AMI is to be permanently deleted from the Recycle Bin.
    • toBuilder

      public ImageRecycleBinInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<ImageRecycleBinInfo.Builder,ImageRecycleBinInfo>
    • builder

      public static ImageRecycleBinInfo.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ImageRecycleBinInfo.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo