com.amazonaws.services.ec2.model

## クラス CreateDhcpOptionsRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.ec2.model.CreateDhcpOptionsRequest

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

      public class CreateDhcpOptionsRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateDhcpOptions operation`.

  Creates a set of DHCP options that you can then associate with one or more VPCs, causing all existing and new instances that you launch in those VPCs to use the set of DHCP options. The following table lists the individual DHCP options you can specify. For more information about the options, go to http://www.ietf.org/rfc/rfc2132.txt

  関連項目:
    `AmazonEC2.createDhcpOptions(CreateDhcpOptionsRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `CreateDhcpOptionsRequest()` Default constructor for a new CreateDhcpOptionsRequest object.
    `CreateDhcpOptionsRequest(java.util.List<DhcpConfiguration> dhcpConfigurations)` Constructs a new CreateDhcpOptionsRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<DhcpConfiguration>` | `getDhcpConfigurations()` A set of one or more DHCP configurations.
    `int` | `hashCode()`
    `void` | `setDhcpConfigurations(java.util.Collection<DhcpConfiguration> dhcpConfigurations)` A set of one or more DHCP configurations.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateDhcpOptionsRequest` | `withDhcpConfigurations(java.util.Collection<DhcpConfiguration> dhcpConfigurations)` A set of one or more DHCP configurations.
    `CreateDhcpOptionsRequest` | `withDhcpConfigurations(DhcpConfiguration... dhcpConfigurations)` A set of one or more DHCP configurations.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateDhcpOptionsRequest

          public CreateDhcpOptionsRequest()

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

    - #### CreateDhcpOptionsRequest

          public CreateDhcpOptionsRequest(java.util.List<DhcpConfiguration> dhcpConfigurations)

      Constructs a new CreateDhcpOptionsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `dhcpConfigurations` - A set of one or more DHCP configurations.

  - ### メソッドの詳細

    - #### getDhcpConfigurations

          public java.util.List<DhcpConfiguration> getDhcpConfigurations()

      A set of one or more DHCP configurations.
      戻り値:
        A set of one or more DHCP configurations.

    - #### setDhcpConfigurations

          public void setDhcpConfigurations(java.util.Collection<DhcpConfiguration> dhcpConfigurations)

      A set of one or more DHCP configurations.
      パラメータ:
        `dhcpConfigurations` - A set of one or more DHCP configurations.

    - #### withDhcpConfigurations

          public CreateDhcpOptionsRequest withDhcpConfigurations(DhcpConfiguration... dhcpConfigurations)

      A set of one or more DHCP configurations.

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

      パラメータ:
        `dhcpConfigurations` - A set of one or more DHCP configurations.

    - #### withDhcpConfigurations

          public CreateDhcpOptionsRequest withDhcpConfigurations(java.util.Collection<DhcpConfiguration> dhcpConfigurations)

      A set of one or more DHCP configurations.

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

      パラメータ:
        `dhcpConfigurations` - A set of one or more DHCP configurations.

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