@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageRecycleBinInfo extends Object implements Serializable, Cloneable
Information about an AMI that is currently in the Recycle Bin.
Constructor and Description |
---|
ImageRecycleBinInfo() |
Modifier and Type | Method and Description |
---|---|
ImageRecycleBinInfo |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the AMI.
|
String |
getImageId()
The ID of the AMI.
|
String |
getName()
The name of the AMI.
|
Date |
getRecycleBinEnterTime()
The date and time when the AMI entered the Recycle Bin.
|
Date |
getRecycleBinExitTime()
The date and time when the AMI is to be permanently deleted from the Recycle Bin.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the AMI.
|
void |
setImageId(String imageId)
The ID of the AMI.
|
void |
setName(String name)
The name of the AMI.
|
void |
setRecycleBinEnterTime(Date recycleBinEnterTime)
The date and time when the AMI entered the Recycle Bin.
|
void |
setRecycleBinExitTime(Date recycleBinExitTime)
The date and time when the AMI is to be permanently deleted from the Recycle Bin.
|
String |
toString()
Returns a string representation of this object.
|
ImageRecycleBinInfo |
withDescription(String description)
The description of the AMI.
|
ImageRecycleBinInfo |
withImageId(String imageId)
The ID of the AMI.
|
ImageRecycleBinInfo |
withName(String name)
The name of the AMI.
|
ImageRecycleBinInfo |
withRecycleBinEnterTime(Date recycleBinEnterTime)
The date and time when the AMI entered the Recycle Bin.
|
ImageRecycleBinInfo |
withRecycleBinExitTime(Date recycleBinExitTime)
The date and time when the AMI is to be permanently deleted from the Recycle Bin.
|
public void setImageId(String imageId)
The ID of the AMI.
imageId
- The ID of the AMI.public String getImageId()
The ID of the AMI.
public ImageRecycleBinInfo withImageId(String imageId)
The ID of the AMI.
imageId
- The ID of the AMI.public void setName(String name)
The name of the AMI.
name
- The name of the AMI.public String getName()
The name of the AMI.
public ImageRecycleBinInfo withName(String name)
The name of the AMI.
name
- The name of the AMI.public void setDescription(String description)
The description of the AMI.
description
- The description of the AMI.public String getDescription()
The description of the AMI.
public ImageRecycleBinInfo withDescription(String description)
The description of the AMI.
description
- The description of the AMI.public void setRecycleBinEnterTime(Date recycleBinEnterTime)
The date and time when the AMI entered the Recycle Bin.
recycleBinEnterTime
- The date and time when the AMI entered the Recycle Bin.public Date getRecycleBinEnterTime()
The date and time when the AMI entered the Recycle Bin.
public ImageRecycleBinInfo withRecycleBinEnterTime(Date recycleBinEnterTime)
The date and time when the AMI entered the Recycle Bin.
recycleBinEnterTime
- The date and time when the AMI entered the Recycle Bin.public void setRecycleBinExitTime(Date recycleBinExitTime)
The date and time when the AMI is to be permanently deleted from the Recycle Bin.
recycleBinExitTime
- The date and time when the AMI is to be permanently deleted from the Recycle Bin.public Date getRecycleBinExitTime()
The date and time when the AMI is to be permanently deleted from the Recycle Bin.
public ImageRecycleBinInfo withRecycleBinExitTime(Date recycleBinExitTime)
The date and time when the AMI is to be permanently deleted from the Recycle Bin.
recycleBinExitTime
- The date and time when the AMI is to be permanently deleted from the Recycle Bin.public String toString()
toString
in class Object
Object.toString()
public ImageRecycleBinInfo clone()