/** * <p> * The number of years that you want to renew the domain for. The maximum number of years depends on the top-level * domain. For the range of valid values for your domain, see <a * href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains that You Can * Register with Amazon Route 53</a> in the <i>Amazon Route 53 Developer Guide</i>. * </p> * <p> * Default: 1 * </p> * * @param durationInYears * The number of years that you want to renew the domain for. The maximum number of years depends on the * top-level domain. For the range of valid values for your domain, see <a * href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains that You * Can Register with Amazon Route 53</a> in the <i>Amazon Route 53 Developer Guide</i>.</p> * <p> * Default: 1 * @return Returns a reference to this object so that method calls can be chained together. */ public RenewDomainRequest withDurationInYears(Integer durationInYears) { setDurationInYears(durationInYears); return this; }