public StartZonalShiftResult withExpiryTime(java.util.Date expiryTime) {
        setExpiryTime(expiryTime);
        return this;
    }
<p>
The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and must be
set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three
days (72 hours). However, you can update a zonal shift to set a new expiration at any time.
</p>
<p>
When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an
expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the
Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of
time to expire in.
</p>

@param expiryTime
       The expiry time (expiration time) for a customer-initiated zonal shift. A zonal shift is temporary and
       must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a
       maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any
       time. </p>
       <p>
       When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts
       to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to
       the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another
       length of time to expire in.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-arczonalshift/src/main/java/com/amazonaws/services/arczonalshift/model/StartZonalShiftResult.java