List of usage examples for com.amazonaws.services.route53.model CreateHostedZoneResult getDelegationSet
public DelegationSet getDelegationSet()
A complex type that describes the name servers for this hosted zone.
From source file:com.msi.dns53.server.query.CreateHostedZone.java
License:Apache License
@Override public String marshall(MarshallStruct<CreateHostedZoneResult> input, HttpServletResponse resp) throws Exception { CreateHostedZoneResult result = input.getMainObject(); XMLNode response = new XMLNode(DNS53Constants.CREATEHOSTEDZONERESPONSE); response.addAttr(DNS53Constants.XMLNS, DNS53Constants.XMLNS_VALUE); if (result.getHostedZone() != null) { DNS53QueryUtil.marshallHostedZone(result.getHostedZone(), response); }/*from w ww . j a v a2 s . com*/ if (result.getChangeInfo() != null) { DNS53QueryUtil.marshallChangeInfo(result.getChangeInfo(), response); } if (result.getDelegationSet() != null) { DNS53QueryUtil.marshallDelegationSet(result.getDelegationSet(), response); } return response.toString(); }