Codota Logo
ListResourceRecordSetsRequest.setMaxItems
Code IndexAdd Codota to your IDE (free)

How to use
setMaxItems
method
in
com.amazonaws.services.route53.model.ListResourceRecordSetsRequest

Best Java code snippets using com.amazonaws.services.route53.model.ListResourceRecordSetsRequest.setMaxItems (Showing top 3 results out of 315)

  • Common ways to obtain ListResourceRecordSetsRequest
private void myMethod () {
ListResourceRecordSetsRequest l =
  • Codota Iconnew ListResourceRecordSetsRequest()
  • Smart code suggestions by Codota
}
origin: aws/aws-sdk-java

/**
 * <p>
 * (Optional) The maximum number of resource records sets to include in the response body for this request. If the
 * response includes more than <code>maxitems</code> resource record sets, the value of the <code>IsTruncated</code>
 * element in the response is <code>true</code>, and the values of the <code>NextRecordName</code> and
 * <code>NextRecordType</code> elements in the response identify the first resource record set in the next group of
 * <code>maxitems</code> resource record sets.
 * </p>
 * 
 * @param maxItems
 *        (Optional) The maximum number of resource records sets to include in the response body for this request.
 *        If the response includes more than <code>maxitems</code> resource record sets, the value of the
 *        <code>IsTruncated</code> element in the response is <code>true</code>, and the values of the
 *        <code>NextRecordName</code> and <code>NextRecordType</code> elements in the response identify the first
 *        resource record set in the next group of <code>maxitems</code> resource record sets.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public ListResourceRecordSetsRequest withMaxItems(String maxItems) {
  setMaxItems(maxItems);
  return this;
}
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;
}
com.amazonaws.services.route53.modelListResourceRecordSetsRequestsetMaxItems

Javadoc

(Optional) The maximum number of resource records sets to include in the response body for this request. If the response includes more than maxitems resource record sets, the value of the IsTruncated element in the response is true, and the values of the NextRecordName and NextRecordType elements in the response identify the first resource record set in the next group of maxitems resource record sets.

Popular methods of ListResourceRecordSetsRequest

  • <init>
    Constructs a new ListResourceRecordSetsRequest object. Callers should use the setter or fluent sette
  • setHostedZoneId
  • 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
  • requestLocationUpdates (LocationManager)
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now