Class ListResourceRecordSetsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.route53.model.ListResourceRecordSetsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class ListResourceRecordSetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

The input for a ListResourceRecordSets request.

See Also:
  • Constructor Details

    • ListResourceRecordSetsRequest

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

      public ListResourceRecordSetsRequest(String hostedZoneId)
      Constructs a new ListResourceRecordSetsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      Parameters:
      hostedZoneId - The ID of the hosted zone that contains the resource record sets that you want to get.
  • Method Details

    • setHostedZoneId

      public void setHostedZoneId(String hostedZoneId)

      The ID of the hosted zone that contains the resource record sets that you want to get.

      Parameters:
      hostedZoneId - The ID of the hosted zone that contains the resource record sets that you want to get.
    • getHostedZoneId

      public String getHostedZoneId()

      The ID of the hosted zone that contains the resource record sets that you want to get.

      Returns:
      The ID of the hosted zone that contains the resource record sets that you want to get.
    • withHostedZoneId

      public ListResourceRecordSetsRequest withHostedZoneId(String hostedZoneId)

      The ID of the hosted zone that contains the resource record sets that you want to get.

      Parameters:
      hostedZoneId - The ID of the hosted zone that contains the resource record sets that you want to get.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStartRecordName

      public void setStartRecordName(String startRecordName)

      The first name in the lexicographic ordering of domain names that you want the ListResourceRecordSets request to list.

      Parameters:
      startRecordName - The first name in the lexicographic ordering of domain names that you want the ListResourceRecordSets request to list.
    • getStartRecordName

      public String getStartRecordName()

      The first name in the lexicographic ordering of domain names that you want the ListResourceRecordSets request to list.

      Returns:
      The first name in the lexicographic ordering of domain names that you want the ListResourceRecordSets request to list.
    • withStartRecordName

      public ListResourceRecordSetsRequest withStartRecordName(String startRecordName)

      The first name in the lexicographic ordering of domain names that you want the ListResourceRecordSets request to list.

      Parameters:
      startRecordName - The first name in the lexicographic ordering of domain names that you want the ListResourceRecordSets request to list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStartRecordType

      public void setStartRecordType(String startRecordType)

      The DNS type at which to begin the listing of resource record sets.

      Valid values: A | AAAA | CNAME | MX | NS | PTR | SOA | SPF | SRV | TXT

      Values for Weighted Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Regional Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Alias Resource Record Sets: A | AAAA

      Constraint: Specifying type without specifying name returns an InvalidInput error.

      Parameters:
      startRecordType - The DNS type at which to begin the listing of resource record sets.

      Valid values: A | AAAA | CNAME | MX | NS | PTR | SOA | SPF | SRV | TXT

      Values for Weighted Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Regional Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Alias Resource Record Sets: A | AAAA

      Constraint: Specifying type without specifying name returns an InvalidInput error.

      See Also:
    • getStartRecordType

      public String getStartRecordType()

      The DNS type at which to begin the listing of resource record sets.

      Valid values: A | AAAA | CNAME | MX | NS | PTR | SOA | SPF | SRV | TXT

      Values for Weighted Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Regional Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Alias Resource Record Sets: A | AAAA

      Constraint: Specifying type without specifying name returns an InvalidInput error.

      Returns:
      The DNS type at which to begin the listing of resource record sets.

      Valid values: A | AAAA | CNAME | MX | NS | PTR | SOA | SPF | SRV | TXT

      Values for Weighted Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Regional Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Alias Resource Record Sets: A | AAAA

      Constraint: Specifying type without specifying name returns an InvalidInput error.

      See Also:
    • withStartRecordType

      public ListResourceRecordSetsRequest withStartRecordType(String startRecordType)

      The DNS type at which to begin the listing of resource record sets.

      Valid values: A | AAAA | CNAME | MX | NS | PTR | SOA | SPF | SRV | TXT

      Values for Weighted Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Regional Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Alias Resource Record Sets: A | AAAA

      Constraint: Specifying type without specifying name returns an InvalidInput error.

      Parameters:
      startRecordType - The DNS type at which to begin the listing of resource record sets.

      Valid values: A | AAAA | CNAME | MX | NS | PTR | SOA | SPF | SRV | TXT

      Values for Weighted Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Regional Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Alias Resource Record Sets: A | AAAA

      Constraint: Specifying type without specifying name returns an InvalidInput error.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStartRecordType

      public void setStartRecordType(RRType startRecordType)

      The DNS type at which to begin the listing of resource record sets.

      Valid values: A | AAAA | CNAME | MX | NS | PTR | SOA | SPF | SRV | TXT

      Values for Weighted Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Regional Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Alias Resource Record Sets: A | AAAA

      Constraint: Specifying type without specifying name returns an InvalidInput error.

      Parameters:
      startRecordType - The DNS type at which to begin the listing of resource record sets.

      Valid values: A | AAAA | CNAME | MX | NS | PTR | SOA | SPF | SRV | TXT

      Values for Weighted Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Regional Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Alias Resource Record Sets: A | AAAA

      Constraint: Specifying type without specifying name returns an InvalidInput error.

      See Also:
    • withStartRecordType

      public ListResourceRecordSetsRequest withStartRecordType(RRType startRecordType)

      The DNS type at which to begin the listing of resource record sets.

      Valid values: A | AAAA | CNAME | MX | NS | PTR | SOA | SPF | SRV | TXT

      Values for Weighted Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Regional Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Alias Resource Record Sets: A | AAAA

      Constraint: Specifying type without specifying name returns an InvalidInput error.

      Parameters:
      startRecordType - The DNS type at which to begin the listing of resource record sets.

      Valid values: A | AAAA | CNAME | MX | NS | PTR | SOA | SPF | SRV | TXT

      Values for Weighted Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Regional Resource Record Sets: A | AAAA | CNAME | TXT

      Values for Alias Resource Record Sets: A | AAAA

      Constraint: Specifying type without specifying name returns an InvalidInput error.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStartRecordIdentifier

      public void setStartRecordIdentifier(String startRecordIdentifier)

      Weighted resource record sets only: If results were truncated for a given DNS name and type, specify the value of ListResourceRecordSetsResponse$NextRecordIdentifier from the previous response to get the next resource record set that has the current DNS name and type.

      Parameters:
      startRecordIdentifier - Weighted resource record sets only: If results were truncated for a given DNS name and type, specify the value of ListResourceRecordSetsResponse$NextRecordIdentifier
    • getStartRecordIdentifier

      public String getStartRecordIdentifier()

      Weighted resource record sets only: If results were truncated for a given DNS name and type, specify the value of ListResourceRecordSetsResponse$NextRecordIdentifier from the previous response to get the next resource record set that has the current DNS name and type.

      Returns:
      Weighted resource record sets only: If results were truncated for a given DNS name and type, specify the value of ListResourceRecordSetsResponse$NextRecordIdentifier
    • withStartRecordIdentifier

      public ListResourceRecordSetsRequest withStartRecordIdentifier(String startRecordIdentifier)

      Weighted resource record sets only: If results were truncated for a given DNS name and type, specify the value of ListResourceRecordSetsResponse$NextRecordIdentifier from the previous response to get the next resource record set that has the current DNS name and type.

      Parameters:
      startRecordIdentifier - Weighted resource record sets only: If results were truncated for a given DNS name and type, specify the value of ListResourceRecordSetsResponse$NextRecordIdentifier
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMaxItems

      public void setMaxItems(String maxItems)

      The maximum number of records you want in the response body.

      Parameters:
      maxItems - The maximum number of records you want in the response body.
    • getMaxItems

      public String getMaxItems()

      The maximum number of records you want in the response body.

      Returns:
      The maximum number of records you want in the response body.
    • withMaxItems

      public ListResourceRecordSetsRequest withMaxItems(String maxItems)

      The maximum number of records you want in the response body.

      Parameters:
      maxItems - The maximum number of records you want in the response body.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: