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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ImageRecycleBinInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageRecycleBinInfo.Builder
builder()
String
description()
The description of the AMI.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
imageId()
The ID of the AMI.String
name()
The name of the AMI.Instant
recycleBinEnterTime()
The date and time when the AMI entered the Recycle Bin.Instant
recycleBinExitTime()
The date and time when the AMI is to be permanently deleted from the Recycle Bin.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends ImageRecycleBinInfo.Builder>
serializableBuilderClass()
ImageRecycleBinInfo.Builder
toBuilder()
String
toString()
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
-
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 interfaceToCopyableBuilder<ImageRecycleBinInfo.Builder,ImageRecycleBinInfo>
-
builder
public static ImageRecycleBinInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImageRecycleBinInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-