public Snapshot withRestoreExpiryTime(java.util.Date restoreExpiryTime) {
        setRestoreExpiryTime(restoreExpiryTime);
        return this;
    }
<p>
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily
restored snapshot will be automatically re-archived.
</p>

@param restoreExpiryTime
       Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily
       restored snapshot will be automatically re-archived.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/Snapshot.java