List of usage examples for com.amazonaws.services.route53.model ListResourceRecordSetsRequest setStartRecordType
public void setStartRecordType(RRType startRecordType)
The type of resource record set to begin the record listing from.
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(); }// w w w . j a v a2 s . c om 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; }