Tabnine Logo
ListResourceRecordSetsRequest.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.amazonaws.services.route53.model.ListResourceRecordSetsRequest
constructor

Best Java code snippets using com.amazonaws.services.route53.model.ListResourceRecordSetsRequest.<init> (Showing top 5 results out of 315)

origin: Netflix/eureka

private ResourceRecordSet getResourceRecordSet(String domain, HostedZone hostedZone) {
  ListResourceRecordSetsRequest request = new ListResourceRecordSetsRequest();
  request.setMaxItems(String.valueOf(Integer.MAX_VALUE));
  request.setHostedZoneId(hostedZone.getId());
  ListResourceRecordSetsResult listResourceRecordSetsResult = amazonRoute53Client.listResourceRecordSets(request);
  for(ResourceRecordSet rrs : listResourceRecordSetsResult.getResourceRecordSets()) {
    if (rrs.getName().equals(domain)) {
      return rrs;
    }
  }
  return null;
}
origin: com.netflix.eureka/eureka-core

private ResourceRecordSet getResourceRecordSet(String domain, HostedZone hostedZone) {
  ListResourceRecordSetsRequest request = new ListResourceRecordSetsRequest();
  request.setMaxItems(String.valueOf(Integer.MAX_VALUE));
  request.setHostedZoneId(hostedZone.getId());
  ListResourceRecordSetsResult listResourceRecordSetsResult = amazonRoute53Client.listResourceRecordSets(request);
  for(ResourceRecordSet rrs : listResourceRecordSetsResult.getResourceRecordSets()) {
    if (rrs.getName().equals(domain)) {
      return rrs;
    }
  }
  return null;
}
origin: org.symphonyoss.s2.fugue/aws-fugue

ListResourceRecordSetsResult result = r53Clinet_.listResourceRecordSets(new ListResourceRecordSetsRequest()
  .withHostedZoneId(zoneId)
  .withStartRecordName(source)
origin: LendingClub/mercator

protected void projectHostedZoneResult(GetHostedZoneResult hostedZoneResult) {
  HostedZone hz = hostedZoneResult.getHostedZone();
  ObjectNode n = toJson(hostedZoneResult);
  getNeoRxClient().execCypher(
      "merge (a:AwsRoute53HostedZone {aws_id:{aws_id}}) set a+={props}, a.updateTs=timestamp() return a",
      "aws_id", n.get("aws_id").asText(), "props", n);
  ListResourceRecordSetsRequest request = new ListResourceRecordSetsRequest();
  request.setHostedZoneId(hz.getId());
  ListResourceRecordSetsResult result;
  long timestamp = System.currentTimeMillis();
  do {
    rateLimit();
    result = getClient().listResourceRecordSets(request);
    request.setStartRecordName(result.getNextRecordName());
    for (ResourceRecordSet rs : result.getResourceRecordSets()) {
      projectResourceRecordSet(hz.getId(), rs, timestamp);
    }
  } while (result.isTruncated());
  getNeoRxClient().execCypher(
      "match (z:AwsRoute53HostedZone {aws_id:{aws_id}})--(r:AwsRoute53RecordSet) where r.updateTs<{ts} detach delete r",
      "ts", timestamp, "aws_id", hz.getId());
  getNeoRxClient().execCypher(
      "match (a:AwsRoute53RecordSet) where not (a)-[:CONTAINS]-(:AwsRoute53HostedZone) detach delete a");
}
origin: ingenieux/beanstalker

ListResourceRecordSetsResult listResourceRecordSets = r53.listResourceRecordSets(new ListResourceRecordSetsRequest(zoneId));
com.amazonaws.services.route53.modelListResourceRecordSetsRequest<init>

Javadoc

Default constructor for ListResourceRecordSetsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.

Popular methods of ListResourceRecordSetsRequest

  • setHostedZoneId
  • setMaxItems
  • setStartRecordName
    The first name in the lexicographic ordering of resource record sets that you want to list.
  • getHostedZoneId
    The ID of the hosted zone that contains the resource record sets that you want to list.
  • getMaxItems
    (Optional) The maximum number of resource records sets to include in the response body for this req
  • getStartRecordIdentifier
    Weighted resource record sets only: If results were truncated for a given DNS name and type, specify
  • getStartRecordName
    The first name in the lexicographic ordering of resource record sets that you want to list.
  • getStartRecordType
    The type of resource record set to begin the record listing from. Valid values for basic resource
  • setStartRecordIdentifier
    Weighted resource record sets only: If results were truncated for a given DNS name and type, specify
  • setStartRecordType
    The type of resource record set to begin the record listing from. Valid values for basic resource
  • withHostedZoneId
  • withStartRecordName
  • withHostedZoneId,
  • withStartRecordName,
  • withStartRecordType

Popular in Java

  • Making http requests using okhttp
  • addToBackStack (FragmentTransaction)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSharedPreferences (Context)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JFrame (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now