Package com.amazonaws.services.route53.model

Examples of com.amazonaws.services.route53.model.ResourceRecordSet


    public List<ResourceRecordSet> getResourceRecords(String awsZoneId) {
        List<ResourceRecordSet> resourceRecords = Lists.newArrayList();

        ListResourceRecordSetsResult previous = null;
        while (true) {
            ListResourceRecordSetsRequest request = new ListResourceRecordSetsRequest(awsZoneId);
            if (previous != null) {
                request.setStartRecordIdentifier(previous.getNextRecordIdentifier());
                request.setStartRecordName(previous.getNextRecordName());
                request.setStartRecordType(previous.getNextRecordType());
            }

            ListResourceRecordSetsResult response = restClient.listResourceRecordSets(request);
            for (ResourceRecordSet resourceRecordSet : response.getResourceRecordSets()) {
                resourceRecords.add(resourceRecordSet);
View Full Code Here


    }

    public List<ResourceRecordSet> getResourceRecords(String awsZoneId) {
        List<ResourceRecordSet> resourceRecords = Lists.newArrayList();

        ListResourceRecordSetsResult previous = null;
        while (true) {
            ListResourceRecordSetsRequest request = new ListResourceRecordSetsRequest(awsZoneId);
            if (previous != null) {
                request.setStartRecordIdentifier(previous.getNextRecordIdentifier());
                request.setStartRecordName(previous.getNextRecordName());
                request.setStartRecordType(previous.getNextRecordType());
            }

            ListResourceRecordSetsResult response = restClient.listResourceRecordSets(request);
            for (ResourceRecordSet resourceRecordSet : response.getResourceRecordSets()) {
                resourceRecords.add(resourceRecordSet);
            }
            if (!Objects.equal(response.isTruncated(), Boolean.TRUE)) {
                break;
            }
            previous = response;
        }
        return resourceRecords;
View Full Code Here

            removePrefix(result.getHostedZone());
        } else if (obj instanceof ListHostedZonesResult) {
            ListHostedZonesResult result = (ListHostedZonesResult)obj;
            for (HostedZone zone : result.getHostedZones()) removePrefix(zone);
        } else if (obj instanceof ListResourceRecordSetsResult) {
            ListResourceRecordSetsResult result = (ListResourceRecordSetsResult)obj;
            for (ResourceRecordSet rrset : result.getResourceRecordSets()) removePrefix(rrset);
        }
    }
View Full Code Here

            removePrefix(result.getHostedZone());
        } else if (obj instanceof ListHostedZonesResult) {
            ListHostedZonesResult result = (ListHostedZonesResult)obj;
            for (HostedZone zone : result.getHostedZones()) removePrefix(zone);
        } else if (obj instanceof ListResourceRecordSetsResult) {
            ListResourceRecordSetsResult result = (ListResourceRecordSetsResult)obj;
            for (ResourceRecordSet rrset : result.getResourceRecordSets()) removePrefix(rrset);
        }
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("NoSuchChange"))
            return null;

        NoSuchChangeException e = (NoSuchChangeException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("NoSuchChange"))
            return null;

        NoSuchChangeException e = (NoSuchChangeException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("NoSuchChange"))
            return null;

        NoSuchChangeException e = (NoSuchChangeException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("NoSuchDelegationSet"))
            return null;

        NoSuchDelegationSetException e = (NoSuchDelegationSetException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("NoSuchGeoLocation"))
            return null;

        NoSuchGeoLocationException e = (NoSuchGeoLocationException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

        // marshaller understands.
        String errorCode = parseErrorCode(node);
        if (errorCode == null || !errorCode.equals("NoSuchHealthCheck"))
            return null;

        NoSuchHealthCheckException e = (NoSuchHealthCheckException)super.unmarshall(node);
       
        return e;
    }
View Full Code Here

TOP

Related Classes of com.amazonaws.services.route53.model.ResourceRecordSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.