@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreWindow extends Object implements Serializable, Cloneable
Earliest and latest time an instance can be restored to:
Constructor and Description |
---|
RestoreWindow() |
Modifier and Type | Method and Description |
---|---|
RestoreWindow |
clone() |
boolean |
equals(Object obj) |
Date |
getEarliestTime()
The earliest time you can restore an instance to.
|
Date |
getLatestTime()
The latest time you can restore an instance to.
|
int |
hashCode() |
void |
setEarliestTime(Date earliestTime)
The earliest time you can restore an instance to.
|
void |
setLatestTime(Date latestTime)
The latest time you can restore an instance to.
|
String |
toString()
Returns a string representation of this object.
|
RestoreWindow |
withEarliestTime(Date earliestTime)
The earliest time you can restore an instance to.
|
RestoreWindow |
withLatestTime(Date latestTime)
The latest time you can restore an instance to.
|
public void setEarliestTime(Date earliestTime)
The earliest time you can restore an instance to.
earliestTime
- The earliest time you can restore an instance to.public Date getEarliestTime()
The earliest time you can restore an instance to.
public RestoreWindow withEarliestTime(Date earliestTime)
The earliest time you can restore an instance to.
earliestTime
- The earliest time you can restore an instance to.public void setLatestTime(Date latestTime)
The latest time you can restore an instance to.
latestTime
- The latest time you can restore an instance to.public Date getLatestTime()
The latest time you can restore an instance to.
public RestoreWindow withLatestTime(Date latestTime)
The latest time you can restore an instance to.
latestTime
- The latest time you can restore an instance to.public String toString()
toString
in class Object
Object.toString()
public RestoreWindow clone()