List of usage examples for com.amazonaws.services.route53.model ListResourceRecordSetsRequest setStartRecordIdentifier
public void setStartRecordIdentifier(String startRecordIdentifier)
Resource record sets that have a routing policy other than simple: If results were truncated for a given DNS name and type, specify the value of NextRecordIdentifier
from the previous response to get the next resource record set that has the current DNS name and type.
From source file:com.msi.dns53.server.query.ListResourceRecordSets.java
License:Apache License
public ListResourceRecordSetsRequest unmarshall(HttpServletRequest req) { ListResourceRecordSetsRequest request = new ListResourceRecordSetsRequest(); SlashObject so = new SlashObject(req.getPathInfo()); List<String> paths = so.getList(); if (paths.size() != 4) { throw DNS53Faults.InternalError(); }/*from w ww . ja v a 2s .c o m*/ String zoneId = paths.get(2); request.setHostedZoneId(zoneId); Map<String, String[]> map = req.getParameterMap(); String name = QueryUtil.getString(map, "name"); String type = QueryUtil.getString(map, "type"); String identifier = QueryUtil.getString(map, "identifier"); String maxItems = QueryUtil.getString(map, "maxitems"); request.setStartRecordName(name); request.setStartRecordType(type); request.setStartRecordIdentifier(identifier); request.setMaxItems(maxItems); return request; }