List of usage examples for com.amazonaws.services.route53.model GetHostedZoneRequest setId
public void setId(String id)
The ID of the hosted zone that you want to get information about.
From source file:com.msi.dns53.server.query.GetHostedZone.java
License:Apache License
public GetHostedZoneRequest unmarshall(HttpServletRequest req) { GetHostedZoneRequest request = new GetHostedZoneRequest(); SlashObject so = new SlashObject(req.getPathInfo()); List<String> paths = so.getList(); if (paths.size() != 3) { throw DNS53Faults.InternalError(); }/*from w ww .j a va 2s . c o m*/ String zoneId = paths.get(2); request.setId(zoneId); return request; }
From source file:org.lendingclub.mercator.aws.Route53Scanner.java
License:Apache License
public void scanHostedZoneById(String id) { GetHostedZoneRequest request = new GetHostedZoneRequest(); request.setId(id); GetHostedZoneResult result = getClient().getHostedZone(request); projectHostedZoneResult(result);// w w w. j a va 2 s .c o m }