/** * <p> * (Optional) For your first request to <code>ListHostedZonesByName</code>, do not include the * <code>hostedzoneid</code> parameter. * </p> * <p> * If you have more hosted zones than the value of <code>maxitems</code>, <code>ListHostedZonesByName</code> returns * only the first <code>maxitems</code> hosted zones. To get the next group of <code>maxitems</code> hosted zones, * submit another request to <code>ListHostedZonesByName</code> and include both <code>dnsname</code> and * <code>hostedzoneid</code> parameters. For the value of <code>hostedzoneid</code>, specify the value of the * <code>NextHostedZoneId</code> element from the previous response. * </p> * * @param hostedZoneId * (Optional) For your first request to <code>ListHostedZonesByName</code>, do not include the * <code>hostedzoneid</code> parameter.</p> * <p> * If you have more hosted zones than the value of <code>maxitems</code>, <code>ListHostedZonesByName</code> * returns only the first <code>maxitems</code> hosted zones. To get the next group of <code>maxitems</code> * hosted zones, submit another request to <code>ListHostedZonesByName</code> and include both * <code>dnsname</code> and <code>hostedzoneid</code> parameters. For the value of <code>hostedzoneid</code>, * specify the value of the <code>NextHostedZoneId</code> element from the previous response. * @return Returns a reference to this object so that method calls can be chained together. */ public ListHostedZonesByNameRequest withHostedZoneId(String hostedZoneId) { setHostedZoneId(hostedZoneId); return this; }