public RenewDomainRequest withCurrentExpiryYear(Integer currentExpiryYear) {
        setCurrentExpiryYear(currentExpiryYear);
        return this;
    }
<p>
The year when the registration for the domain is set to expire. This value must match the current expiration date
for the domain.
</p>

@param currentExpiryYear
       The year when the registration for the domain is set to expire. This value must match the current
       expiration date for the domain.
@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/RenewDomainRequest.java