com.amazonaws.services.route53.model

## クラス ChangeResourceRecordSetsRequest

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

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

      public class ChangeResourceRecordSetsRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `ChangeResourceRecordSets operation`.

  Use this action to create or change your authoritative DNS information. To use this action, send a `POST` request to the `2012-12-12/hostedzone/hosted Zone ID/rrset` resource. The request body must include an XML document with a `ChangeResourceRecordSetsRequest` element.

  Changes are a list of change items and are considered transactional. For more information on transactional changes, also known as change batches, see Creating, Changing, and Deleting Resource Record Sets Using the Route 53 API in the Amazon Route 53 Developer Guide .

  IMPORTANT:Due to the nature of transactional changes, you cannot delete the same resource record set more than once in a single change batch. If you attempt to delete the same change batch more than once, Route 53 returns an InvalidChangeBatch error.

  In response to a `ChangeResourceRecordSets` request, your DNS data is changed on all Route 53 DNS servers. Initially, the status of a change is `PENDING` . This means the change has not yet propagated to all the authoritative Route 53 DNS servers. When the change is propagated to all hosts, the change returns a status of `INSYNC` .

  Note the following limitations on a `ChangeResourceRecordSets` request:

  - A request cannot contain more than 100 Change elements.

  - A request cannot contain more than 1000 ResourceRecord elements.

  The sum of the number of characters (including spaces) in all `Value` elements in a request cannot exceed 32,000 characters.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `ChangeBatch` | `getChangeBatch()` A complex type that contains an optional comment and the `Changes` element.
    `java.lang.String` | `getHostedZoneId()` Alias resource record sets only: The value of the hosted zone ID for the AWS resource.
    `java.lang.String` | `getVersion()` Specify the api version.
    `int` | `hashCode()`
    `void` | `setChangeBatch(ChangeBatch changeBatch)` A complex type that contains an optional comment and the `Changes` element.
    `void` | `setHostedZoneId(java.lang.String hostedZoneId)` Alias resource record sets only: The value of the hosted zone ID for the AWS resource.
    `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.
    `ChangeResourceRecordSetsRequest` | `withChangeBatch(ChangeBatch changeBatch)` A complex type that contains an optional comment and the `Changes` element.
    `ChangeResourceRecordSetsRequest` | `withHostedZoneId(java.lang.String hostedZoneId)` Alias resource record sets only: The value of the hosted zone ID for the AWS resource.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### ChangeResourceRecordSetsRequest

          public ChangeResourceRecordSetsRequest()

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

    - #### ChangeResourceRecordSetsRequest

          public ChangeResourceRecordSetsRequest(java.lang.String hostedZoneId,
                                         ChangeBatch changeBatch)

      Constructs a new ChangeResourceRecordSetsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `hostedZoneId` - Alias resource record sets only: The value of the hosted zone ID for the AWS resource.

        For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

        `changeBatch` - A complex type that contains an optional comment and the `Changes` element.

  - ### メソッドの詳細

    - #### 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()

      Alias resource record sets only: The value of the hosted zone ID for the AWS resource.

      For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

      Constraints:
      Length: 0 - 32

      戻り値:
        Alias resource record sets only: The value of the hosted zone ID for the AWS resource.

        For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

    - #### setHostedZoneId

          public void setHostedZoneId(java.lang.String hostedZoneId)

      Alias resource record sets only: The value of the hosted zone ID for the AWS resource.

      For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

      Constraints:
      Length: 0 - 32

      パラメータ:
        `hostedZoneId` - Alias resource record sets only: The value of the hosted zone ID for the AWS resource.

        For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

    - #### withHostedZoneId

          public ChangeResourceRecordSetsRequest withHostedZoneId(java.lang.String hostedZoneId)

      Alias resource record sets only: The value of the hosted zone ID for the AWS resource.

      For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

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

      Constraints:
      Length: 0 - 32

      パラメータ:
        `hostedZoneId` - Alias resource record sets only: The value of the hosted zone ID for the AWS resource.

        For more information, an example, and several ways to get the hosted zone ID for the LoadBalancer, see Creating Alias Resource Record Sets for Elastic Load Balancing in the Amazon Route 53 Developer Guide.

    - #### getChangeBatch

          public ChangeBatch getChangeBatch()

      A complex type that contains an optional comment and the `Changes` element.
      戻り値:
        A complex type that contains an optional comment and the `Changes` element.

    - #### setChangeBatch

          public void setChangeBatch(ChangeBatch changeBatch)

      A complex type that contains an optional comment and the `Changes` element.
      パラメータ:
        `changeBatch` - A complex type that contains an optional comment and the `Changes` element.

    - #### withChangeBatch

          public ChangeResourceRecordSetsRequest withChangeBatch(ChangeBatch changeBatch)

      A complex type that contains an optional comment and the `Changes` element.

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

      パラメータ:
        `changeBatch` - A complex type that contains an optional comment and the `Changes` element.

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