com.amazonaws.services.route53.model

## クラス DeleteHostedZoneRequest

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

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

      public class DeleteHostedZoneRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DeleteHostedZone operation`.

  This action deletes a hosted zone. To delete a hosted zone, send a `DELETE` request to the `2012-12-12/hostedzone/hosted zone ID` resource.

  For more information about deleting a hosted zone, see Deleting a Hosted Zone in the Amazon Route 53 Developer Guide .

  IMPORTANT: You can delete a hosted zone only if there are no resource record sets other than the default SOA record and NS resource record sets. If your hosted zone contains other resource record sets, you must delete them before you can delete your hosted zone. If you try to delete a hosted zone that contains other resource record sets, Route 53 will deny your request with a HostedZoneNotEmpty error. For information about deleting records from your hosted zone, see ChangeResourceRecordSets.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getId()` The ID of the request.
    `java.lang.String` | `getVersion()` Specify the api version.
    `int` | `hashCode()`
    `void` | `setId(java.lang.String id)` The ID of the request.
    `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.
    `DeleteHostedZoneRequest` | `withId(java.lang.String id)` The ID of the request.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DeleteHostedZoneRequest

          public DeleteHostedZoneRequest()

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

    - #### DeleteHostedZoneRequest

          public DeleteHostedZoneRequest(java.lang.String id)

      Constructs a new DeleteHostedZoneRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `id` - The ID of the request. Include this ID in a call to GetChange to track when the change has propagated to all Route 53 DNS servers.

  - ### メソッドの詳細

    - #### getVersion

          public java.lang.String getVersion()

      Specify the api version.
      戻り値:
        api version

    - #### setVersion

          public void setVersion(java.lang.String version)

      Specify the api version.

    - #### getId

          public java.lang.String getId()

      The ID of the request. Include this ID in a call to GetChange to track when the change has propagated to all Route 53 DNS servers.

      Constraints:
      Length: 0 - 32

      戻り値:
        The ID of the request. Include this ID in a call to GetChange to track when the change has propagated to all Route 53 DNS servers.

    - #### setId

          public void setId(java.lang.String id)

      The ID of the request. Include this ID in a call to GetChange to track when the change has propagated to all Route 53 DNS servers.

      Constraints:
      Length: 0 - 32

      パラメータ:
        `id` - The ID of the request. Include this ID in a call to GetChange to track when the change has propagated to all Route 53 DNS servers.

    - #### withId

          public DeleteHostedZoneRequest withId(java.lang.String id)

      The ID of the request. Include this ID in a call to GetChange to track when the change has propagated to all Route 53 DNS servers.

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

      Constraints:
      Length: 0 - 32

      パラメータ:
        `id` - The ID of the request. Include this ID in a call to GetChange to track when the change has propagated to all Route 53 DNS servers.

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