Class SnapshotRecycleBinInfo
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.SnapshotRecycleBinInfo
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SnapshotRecycleBinInfo.Builder,SnapshotRecycleBinInfo>
@Generated("software.amazon.awssdk:codegen") public final class SnapshotRecycleBinInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SnapshotRecycleBinInfo.Builder,SnapshotRecycleBinInfo>
Information about a snapshot that is currently in the Recycle Bin.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SnapshotRecycleBinInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnapshotRecycleBinInfo.Builder
builder()
String
description()
The description for the snapshot.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Instant
recycleBinEnterTime()
The date and time when the snaphsot entered the Recycle Bin.Instant
recycleBinExitTime()
The date and time when the snapshot is to be permanently deleted from the Recycle Bin.List<SdkField<?>>
sdkFields()
static Class<? extends SnapshotRecycleBinInfo.Builder>
serializableBuilderClass()
String
snapshotId()
The ID of the snapshot.SnapshotRecycleBinInfo.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
volumeId()
The ID of the volume from which the snapshot was created.-
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
-
snapshotId
public final String snapshotId()
The ID of the snapshot.
- Returns:
- The ID of the snapshot.
-
recycleBinEnterTime
public final Instant recycleBinEnterTime()
The date and time when the snaphsot entered the Recycle Bin.
- Returns:
- The date and time when the snaphsot entered the Recycle Bin.
-
recycleBinExitTime
public final Instant recycleBinExitTime()
The date and time when the snapshot is to be permanently deleted from the Recycle Bin.
- Returns:
- The date and time when the snapshot is to be permanently deleted from the Recycle Bin.
-
description
public final String description()
The description for the snapshot.
- Returns:
- The description for the snapshot.
-
volumeId
public final String volumeId()
The ID of the volume from which the snapshot was created.
- Returns:
- The ID of the volume from which the snapshot was created.
-
toBuilder
public SnapshotRecycleBinInfo.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<SnapshotRecycleBinInfo.Builder,SnapshotRecycleBinInfo>
-
builder
public static SnapshotRecycleBinInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends SnapshotRecycleBinInfo.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.
-
-