List of usage examples for com.amazonaws.services.route53.model ListHostedZonesRequest setMarker
public void setMarker(String marker)
If the value of IsTruncated
in the previous response was true
, you have more hosted zones.
From source file:com.msi.dns53.server.query.ListHostedZones.java
License:Apache License
public ListHostedZonesRequest unmarshall(HttpServletRequest req) { logger.debug("Unmarshalling the ListHostedZones request."); ListHostedZonesRequest request = new ListHostedZonesRequest(); Map<String, String[]> map = req.getParameterMap(); String marker = QueryUtil.getString(map, "marker"); String maxItems = QueryUtil.getString(map, "maxitems"); request.setMarker(marker); request.setMaxItems(maxItems);/*from w w w. ja va 2 s .co m*/ return request; }
From source file:org.lendingclub.mercator.aws.Route53Scanner.java
License:Apache License
@Override protected void doScan() { ListHostedZonesRequest request = new ListHostedZonesRequest(); ListHostedZonesResult result = new ListHostedZonesResult(); do {//from w w w . ja v a 2 s . co m result = getClient().listHostedZones(request); for (HostedZone zone : result.getHostedZones()) { scanHostedZoneById(zone.getId()); } request.setMarker(result.getMarker()); } while (result.isTruncated()); }