public DomainSummary withExpiry(java.util.Date expiry) {
        setExpiry(expiry);
        return this;
    }
<p>
Expiration date of the domain in Unix time format and Coordinated Universal Time (UTC).
</p>

@param expiry
       Expiration date of the domain in Unix time format and Coordinated Universal Time (UTC).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53domains/model/DomainSummary.java