Example usage for com.amazonaws.services.route53.model DeleteHostedZoneResult getChangeInfo

List of usage examples for com.amazonaws.services.route53.model DeleteHostedZoneResult getChangeInfo

Introduction

In this page you can find the example usage for com.amazonaws.services.route53.model DeleteHostedZoneResult getChangeInfo.

Prototype


public ChangeInfo getChangeInfo() 

Source Link

Document

A complex type that contains the ID, the status, and the date and time of a request to delete a hosted zone.

Usage

From source file:com.msi.dns53.server.query.DeleteHostedZone.java

License:Apache License

@Override
public String marshall(MarshallStruct<DeleteHostedZoneResult> input, HttpServletResponse resp)
        throws Exception {
    DeleteHostedZoneResult result = input.getMainObject();
    ChangeInfo ci = result.getChangeInfo();
    XMLNode response = new XMLNode(DNS53Constants.DELETEHOSTEDZONERESPONSE);
    response.addAttr(DNS53Constants.XMLNS, DNS53Constants.XMLNS_VALUE);
    if (ci != null) {
        DNS53QueryUtil.marshallChangeInfo(ci, response);
    }/*w  w  w. ja va  2 s .c o m*/
    return response.toString();
}