com.amazonaws.services.route53.model

## クラス ListResourceRecordSetsRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.route53.model.ListResourceRecordSetsRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class ListResourceRecordSetsRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `ListResourceRecordSets operation`.

  Imagine all the resource record sets in a zone listed out in front of you. Imagine them sorted lexicographically first by DNS name (with the labels reversed, like "com.amazon.www" for example), and secondarily, lexicographically by record type. This operation retrieves at most MaxItems resource record sets from this list, in order, starting at a position specified by the Name and Type arguments:

  - If both Name and Type are omitted, this means start the results at the first RRSET in the HostedZone.
  - If Name is specified but Type is omitted, this means start the results at the first RRSET in the list whose name is greater than or equal to Name.
  - If both Name and Type are specified, this means start the results at the first RRSET in the list whose name is greater than or equal to Name and whose type is greater than or equal to Type.
  - It is an error to specify the Type but not the Name.

  Use ListResourceRecordSets to retrieve a single known record set by specifying the record set's name and type, and setting MaxItems = 1

  To retrieve all the records in a HostedZone, first pause any processes making calls to ChangeResourceRecordSets. Initially call ListResourceRecordSets without a Name and Type to get the first page of record sets. For subsequent calls, set Name and Type to the NextName and NextType values returned by the previous response.

  In the presence of concurrent ChangeResourceRecordSets calls, there is no consistency of results across calls to ListResourceRecordSets. The only way to get a consistent multi-page snapshot of all RRSETs in a zone is to stop making changes while pagination is in progress.

  However, the results from ListResourceRecordSets are consistent within a page. If MakeChange calls are taking place concurrently, the result of each one will either be completely visible in your results or not at all. You will not see partial changes, or changes that do not ultimately succeed. (This follows from the fact that MakeChange is atomic)

  The results from ListResourceRecordSets are strongly consistent with ChangeResourceRecordSets. To be precise, if a single process makes a call to ChangeResourceRecordSets and receives a successful response, the effects of that change will be visible in a subsequent call to ListResourceRecordSets by that process.

  関連項目:
    `AmazonRoute53.listResourceRecordSets(ListResourceRecordSetsRequest)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `ListResourceRecordSetsRequest()` Default constructor for a new ListResourceRecordSetsRequest object.
    `ListResourceRecordSetsRequest(java.lang.String hostedZoneId)` Constructs a new ListResourceRecordSetsRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getHostedZoneId()` The ID of the hosted zone that contains the resource record sets that you want to get.
    `java.lang.String` | `getMaxItems()` The maximum number of records you want in the response body.
    `java.lang.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.
    `java.lang.String` | `getStartRecordName()` The first name in the lexicographic ordering of domain names that you want the `ListResourceRecordSets` request to list.
    `java.lang.String` | `getStartRecordType()` The DNS type at which to begin the listing of resource record sets.
    `java.lang.String` | `getVersion()` Specify the api version.
    `int` | `hashCode()`
    `void` | `setHostedZoneId(java.lang.String hostedZoneId)` The ID of the hosted zone that contains the resource record sets that you want to get.
    `void` | `setMaxItems(java.lang.String maxItems)` The maximum number of records you want in the response body.
    `void` | `setStartRecordIdentifier(java.lang.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.
    `void` | `setStartRecordName(java.lang.String startRecordName)` The first name in the lexicographic ordering of domain names that you want the `ListResourceRecordSets` request to list.
    `void` | `setStartRecordType(RRType startRecordType)` The DNS type at which to begin the listing of resource record sets.
    `void` | `setStartRecordType(java.lang.String startRecordType)` The DNS type at which to begin the listing of resource record sets.
    `void` | `setVersion(java.lang.String version)` Specify the api version.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ListResourceRecordSetsRequest` | `withHostedZoneId(java.lang.String hostedZoneId)` The ID of the hosted zone that contains the resource record sets that you want to get.
    `ListResourceRecordSetsRequest` | `withMaxItems(java.lang.String maxItems)` The maximum number of records you want in the response body.
    `ListResourceRecordSetsRequest` | `withStartRecordIdentifier(java.lang.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.
    `ListResourceRecordSetsRequest` | `withStartRecordName(java.lang.String startRecordName)` The first name in the lexicographic ordering of domain names that you want the `ListResourceRecordSets` request to list.
    `ListResourceRecordSetsRequest` | `withStartRecordType(RRType startRecordType)` The DNS type at which to begin the listing of resource record sets.
    `ListResourceRecordSetsRequest` | `withStartRecordType(java.lang.String startRecordType)` The DNS type at which to begin the listing of resource record sets.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### ListResourceRecordSetsRequest

          public ListResourceRecordSetsRequest()

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

    - #### ListResourceRecordSetsRequest

          public ListResourceRecordSetsRequest(java.lang.String hostedZoneId)

      Constructs a new ListResourceRecordSetsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `hostedZoneId` - The ID of the hosted zone that contains the resource record sets that you want to get.

  - ### メソッドの詳細

    - #### getVersion

          public java.lang.String getVersion()

      Specify the api version.
      戻り値:
        api version

    - #### setVersion

          public void setVersion(java.lang.String version)

      Specify the api version.

    - #### getHostedZoneId

          public java.lang.String getHostedZoneId()

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

      Constraints:
      Length: 0 - 32

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

    - #### setHostedZoneId

          public void setHostedZoneId(java.lang.String hostedZoneId)

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

      Constraints:
      Length: 0 - 32

      パラメータ:
        `hostedZoneId` - The ID of the hosted zone that contains the resource record sets that you want to get.

    - #### withHostedZoneId

          public ListResourceRecordSetsRequest withHostedZoneId(java.lang.String hostedZoneId)

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

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 0 - 32

      パラメータ:
        `hostedZoneId` - The ID of the hosted zone that contains the resource record sets that you want to get.

    - #### getStartRecordName

          public java.lang.String getStartRecordName()

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

      Constraints:
      Length: 0 - 1024

      戻り値:
        The first name in the lexicographic ordering of domain names that you want the `ListResourceRecordSets` request to list.

    - #### setStartRecordName

          public void setStartRecordName(java.lang.String startRecordName)

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

      Constraints:
      Length: 0 - 1024

      パラメータ:
        `startRecordName` - The first name in the lexicographic ordering of domain names that you want the `ListResourceRecordSets` request to list.

    - #### withStartRecordName

          public ListResourceRecordSetsRequest withStartRecordName(java.lang.String startRecordName)

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

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 0 - 1024

      パラメータ:
        `startRecordName` - The first name in the lexicographic ordering of domain names that you want the `ListResourceRecordSets` request to list.

    - #### getStartRecordType

          public java.lang.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.

      Constraints:
      Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA

      戻り値:
        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.

      関連項目:
        `RRType`

    - #### setStartRecordType

          public void setStartRecordType(java.lang.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.

      Constraints:
      Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA

      パラメータ:
        `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.

      関連項目:
        `RRType`

    - #### withStartRecordType

          public ListResourceRecordSetsRequest withStartRecordType(java.lang.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.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA

      パラメータ:
        `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.

      関連項目:
        `RRType`

    - #### 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.

      Constraints:
      Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA

      パラメータ:
        `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.

      関連項目:
        `RRType`

    - #### 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.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA

      パラメータ:
        `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.

      関連項目:
        `RRType`

    - #### getStartRecordIdentifier

          public java.lang.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.

      Constraints:
      Length: 1 - 128

      戻り値:
        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.

    - #### setStartRecordIdentifier

          public void setStartRecordIdentifier(java.lang.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.

      Constraints:
      Length: 1 - 128

      パラメータ:
        `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.

    - #### withStartRecordIdentifier

          public ListResourceRecordSetsRequest withStartRecordIdentifier(java.lang.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.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 128

      パラメータ:
        `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.

    - #### getMaxItems

          public java.lang.String getMaxItems()

      The maximum number of records you want in the response body.
      戻り値:
        The maximum number of records you want in the response body.

    - #### setMaxItems

          public void setMaxItems(java.lang.String maxItems)

      The maximum number of records you want in the response body.
      パラメータ:
        `maxItems` - The maximum number of records you want in the response body.

    - #### withMaxItems

          public ListResourceRecordSetsRequest withMaxItems(java.lang.String maxItems)

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

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `maxItems` - The maximum number of records you want in the response body.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`