com.amazonaws.services.route53.model

## クラス CreateHostedZoneRequest

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

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

      public class CreateHostedZoneRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateHostedZone operation`.

  This action creates a new hosted zone.

  To create a new hosted zone, send a `POST` request to the `2012-12-12/hostedzone` resource. The request body must include an XML document with a `CreateHostedZoneRequest` element. The response returns the `CreateHostedZoneResponse` element that contains metadata about the hosted zone.

  Route 53 automatically creates a default SOA record and four NS records for the zone. The NS records in the hosted zone are the name servers you give your registrar to delegate your domain to. For more information about SOA and NS records, see NS and SOA Records that Route 53 Creates for a Hosted Zone in the Amazon Route 53 Developer Guide .

  When you create a zone, its initial status is `PENDING` . This means that it is not yet available on all DNS servers. The status of the zone changes to `INSYNC` when the NS and SOA records are available on all Route 53 DNS servers.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCallerReference()` A unique string that identifies the request and that allows failed `CreateHostedZone` requests to be retried without the risk of executing the operation twice.
    `HostedZoneConfig` | `getHostedZoneConfig()` A complex type that contains an optional comment about your hosted zone.
    `java.lang.String` | `getName()` The name of the domain.
    `java.lang.String` | `getVersion()` Specify the api version.
    `int` | `hashCode()`
    `void` | `setCallerReference(java.lang.String callerReference)` A unique string that identifies the request and that allows failed `CreateHostedZone` requests to be retried without the risk of executing the operation twice.
    `void` | `setHostedZoneConfig(HostedZoneConfig hostedZoneConfig)` A complex type that contains an optional comment about your hosted zone.
    `void` | `setName(java.lang.String name)` The name of the domain.
    `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.
    `CreateHostedZoneRequest` | `withCallerReference(java.lang.String callerReference)` A unique string that identifies the request and that allows failed `CreateHostedZone` requests to be retried without the risk of executing the operation twice.
    `CreateHostedZoneRequest` | `withHostedZoneConfig(HostedZoneConfig hostedZoneConfig)` A complex type that contains an optional comment about your hosted zone.
    `CreateHostedZoneRequest` | `withName(java.lang.String name)` The name of the domain.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateHostedZoneRequest

          public CreateHostedZoneRequest()

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

    - #### CreateHostedZoneRequest

          public CreateHostedZoneRequest(java.lang.String name,
                                 java.lang.String callerReference)

      Constructs a new CreateHostedZoneRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `name` - The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

        This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of `NameServers` elements returned in `DelegationSet`.

        `callerReference` - A unique string that identifies the request and that allows failed `CreateHostedZone` requests to be retried without the risk of executing the operation twice. You must use a unique `CallerReference` string every time you create a hosted zone. `CallerReference` can be any unique string; you might choose to use a string that identifies your project, such as `DNSMigration_01`.

        Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.

  - ### メソッドの詳細

    - #### getVersion

          public java.lang.String getVersion()

      Specify the api version.
      戻り値:
        api version

    - #### setVersion

          public void setVersion(java.lang.String version)

      Specify the api version.

    - #### getName

          public java.lang.String getName()

      The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

      This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of `NameServers` elements returned in `DelegationSet`.

      Constraints:
      Length: 0 - 1024

      戻り値:
        The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

        This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of `NameServers` elements returned in `DelegationSet`.

    - #### setName

          public void setName(java.lang.String name)

      The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

      This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of `NameServers` elements returned in `DelegationSet`.

      Constraints:
      Length: 0 - 1024

      パラメータ:
        `name` - The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

        This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of `NameServers` elements returned in `DelegationSet`.

    - #### withName

          public CreateHostedZoneRequest withName(java.lang.String name)

      The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

      This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of `NameServers` elements returned in `DelegationSet`.

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

      Constraints:
      Length: 0 - 1024

      パラメータ:
        `name` - The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

        This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of `NameServers` elements returned in `DelegationSet`.

    - #### getCallerReference

          public java.lang.String getCallerReference()

      A unique string that identifies the request and that allows failed `CreateHostedZone` requests to be retried without the risk of executing the operation twice. You must use a unique `CallerReference` string every time you create a hosted zone. `CallerReference` can be any unique string; you might choose to use a string that identifies your project, such as `DNSMigration_01`.

      Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.

      Constraints:
      Length: 1 - 128

      戻り値:
        A unique string that identifies the request and that allows failed `CreateHostedZone` requests to be retried without the risk of executing the operation twice. You must use a unique `CallerReference` string every time you create a hosted zone. `CallerReference` can be any unique string; you might choose to use a string that identifies your project, such as `DNSMigration_01`.

        Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.

    - #### setCallerReference

          public void setCallerReference(java.lang.String callerReference)

      A unique string that identifies the request and that allows failed `CreateHostedZone` requests to be retried without the risk of executing the operation twice. You must use a unique `CallerReference` string every time you create a hosted zone. `CallerReference` can be any unique string; you might choose to use a string that identifies your project, such as `DNSMigration_01`.

      Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.

      Constraints:
      Length: 1 - 128

      パラメータ:
        `callerReference` - A unique string that identifies the request and that allows failed `CreateHostedZone` requests to be retried without the risk of executing the operation twice. You must use a unique `CallerReference` string every time you create a hosted zone. `CallerReference` can be any unique string; you might choose to use a string that identifies your project, such as `DNSMigration_01`.

        Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.

    - #### withCallerReference

          public CreateHostedZoneRequest withCallerReference(java.lang.String callerReference)

      A unique string that identifies the request and that allows failed `CreateHostedZone` requests to be retried without the risk of executing the operation twice. You must use a unique `CallerReference` string every time you create a hosted zone. `CallerReference` can be any unique string; you might choose to use a string that identifies your project, such as `DNSMigration_01`.

      Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.

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

      Constraints:
      Length: 1 - 128

      パラメータ:
        `callerReference` - A unique string that identifies the request and that allows failed `CreateHostedZone` requests to be retried without the risk of executing the operation twice. You must use a unique `CallerReference` string every time you create a hosted zone. `CallerReference` can be any unique string; you might choose to use a string that identifies your project, such as `DNSMigration_01`.

        Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.

    - #### getHostedZoneConfig

          public HostedZoneConfig getHostedZoneConfig()

      A complex type that contains an optional comment about your hosted zone.
      戻り値:
        A complex type that contains an optional comment about your hosted zone.

    - #### setHostedZoneConfig

          public void setHostedZoneConfig(HostedZoneConfig hostedZoneConfig)

      A complex type that contains an optional comment about your hosted zone.
      パラメータ:
        `hostedZoneConfig` - A complex type that contains an optional comment about your hosted zone.

    - #### withHostedZoneConfig

          public CreateHostedZoneRequest withHostedZoneConfig(HostedZoneConfig hostedZoneConfig)

      A complex type that contains an optional comment about your hosted zone.

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

      パラメータ:
        `hostedZoneConfig` - A complex type that contains an optional comment about your hosted zone.

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