List of usage examples for com.amazonaws.services.route53.model CreateHostedZoneResult getChangeInfo
public ChangeInfo getChangeInfo()
A complex type that contains information about the CreateHostedZone
request.
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 ww w . ja va 2s.c om if (result.getChangeInfo() != null) { DNS53QueryUtil.marshallChangeInfo(result.getChangeInfo(), response); } if (result.getDelegationSet() != null) { DNS53QueryUtil.marshallDelegationSet(result.getDelegationSet(), response); } return response.toString(); }