com.amazonaws.services.ec2.model

## クラス CreateNetworkInterfaceRequest

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

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

      public class CreateNetworkInterfaceRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateNetworkInterface operation`.
  関連項目:
    `AmazonEC2.createNetworkInterface(CreateNetworkInterfaceRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `CreateNetworkInterfaceRequest()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getDescription()` Returns the value of the Description property for this object.
    `java.util.List<java.lang.String>` | `getGroups()` Returns the value of the Groups property for this object.
    `java.lang.String` | `getPrivateIpAddress()` Returns the value of the PrivateIpAddress property for this object.
    `java.util.List<PrivateIpAddressSpecification>` | `getPrivateIpAddresses()` Returns the value of the PrivateIpAddresses property for this object.
    `java.lang.Integer` | `getSecondaryPrivateIpAddressCount()` Returns the value of the SecondaryPrivateIpAddressCount property for this object.
    `java.lang.String` | `getSubnetId()` Returns the value of the SubnetId property for this object.
    `int` | `hashCode()`
    `void` | `setDescription(java.lang.String description)` Sets the value of the Description property for this object.
    `void` | `setGroups(java.util.Collection<java.lang.String> groups)` Sets the value of the Groups property for this object.
    `void` | `setPrivateIpAddress(java.lang.String privateIpAddress)` Sets the value of the PrivateIpAddress property for this object.
    `void` | `setPrivateIpAddresses(java.util.Collection<PrivateIpAddressSpecification> privateIpAddresses)` Sets the value of the PrivateIpAddresses property for this object.
    `void` | `setSecondaryPrivateIpAddressCount(java.lang.Integer secondaryPrivateIpAddressCount)` Sets the value of the SecondaryPrivateIpAddressCount property for this object.
    `void` | `setSubnetId(java.lang.String subnetId)` Sets the value of the SubnetId property for this object.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateNetworkInterfaceRequest` | `withDescription(java.lang.String description)` Sets the value of the Description property for this object.
    `CreateNetworkInterfaceRequest` | `withGroups(java.util.Collection<java.lang.String> groups)` Sets the value of the Groups property for this object.
    `CreateNetworkInterfaceRequest` | `withGroups(java.lang.String... groups)` Sets the value of the Groups property for this object.
    `CreateNetworkInterfaceRequest` | `withPrivateIpAddress(java.lang.String privateIpAddress)` Sets the value of the PrivateIpAddress property for this object.
    `CreateNetworkInterfaceRequest` | `withPrivateIpAddresses(java.util.Collection<PrivateIpAddressSpecification> privateIpAddresses)` Sets the value of the PrivateIpAddresses property for this object.
    `CreateNetworkInterfaceRequest` | `withPrivateIpAddresses(PrivateIpAddressSpecification... privateIpAddresses)` Sets the value of the PrivateIpAddresses property for this object.
    `CreateNetworkInterfaceRequest` | `withSecondaryPrivateIpAddressCount(java.lang.Integer secondaryPrivateIpAddressCount)` Sets the value of the SecondaryPrivateIpAddressCount property for this object.
    `CreateNetworkInterfaceRequest` | `withSubnetId(java.lang.String subnetId)` Sets the value of the SubnetId property for this object.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateNetworkInterfaceRequest

          public CreateNetworkInterfaceRequest()

  - ### メソッドの詳細

    - #### getSubnetId

          public java.lang.String getSubnetId()

      Returns the value of the SubnetId property for this object.
      戻り値:
        The value of the SubnetId property for this object.

    - #### setSubnetId

          public void setSubnetId(java.lang.String subnetId)

      Sets the value of the SubnetId property for this object.
      パラメータ:
        `subnetId` - The new value for the SubnetId property for this object.

    - #### withSubnetId

          public CreateNetworkInterfaceRequest withSubnetId(java.lang.String subnetId)

      Sets the value of the SubnetId property for this object.

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

      パラメータ:
        `subnetId` - The new value for the SubnetId property for this object.

    - #### getDescription

          public java.lang.String getDescription()

      Returns the value of the Description property for this object.
      戻り値:
        The value of the Description property for this object.

    - #### setDescription

          public void setDescription(java.lang.String description)

      Sets the value of the Description property for this object.
      パラメータ:
        `description` - The new value for the Description property for this object.

    - #### withDescription

          public CreateNetworkInterfaceRequest withDescription(java.lang.String description)

      Sets the value of the Description property for this object.

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

      パラメータ:
        `description` - The new value for the Description property for this object.

    - #### getPrivateIpAddress

          public java.lang.String getPrivateIpAddress()

      Returns the value of the PrivateIpAddress property for this object.
      戻り値:
        The value of the PrivateIpAddress property for this object.

    - #### setPrivateIpAddress

          public void setPrivateIpAddress(java.lang.String privateIpAddress)

      Sets the value of the PrivateIpAddress property for this object.
      パラメータ:
        `privateIpAddress` - The new value for the PrivateIpAddress property for this object.

    - #### withPrivateIpAddress

          public CreateNetworkInterfaceRequest withPrivateIpAddress(java.lang.String privateIpAddress)

      Sets the value of the PrivateIpAddress property for this object.

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

      パラメータ:
        `privateIpAddress` - The new value for the PrivateIpAddress property for this object.

    - #### getGroups

          public java.util.List<java.lang.String> getGroups()

      Returns the value of the Groups property for this object.
      戻り値:
        The value of the Groups property for this object.

    - #### setGroups

          public void setGroups(java.util.Collection<java.lang.String> groups)

      Sets the value of the Groups property for this object.
      パラメータ:
        `groups` - The new value for the Groups property for this object.

    - #### withGroups

          public CreateNetworkInterfaceRequest withGroups(java.lang.String... groups)

      Sets the value of the Groups property for this object.

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

      パラメータ:
        `groups` - The new value for the Groups property for this object.

    - #### withGroups

          public CreateNetworkInterfaceRequest withGroups(java.util.Collection<java.lang.String> groups)

      Sets the value of the Groups property for this object.

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

      パラメータ:
        `groups` - The new value for the Groups property for this object.

    - #### getPrivateIpAddresses

          public java.util.List<PrivateIpAddressSpecification> getPrivateIpAddresses()

      Returns the value of the PrivateIpAddresses property for this object.
      戻り値:
        The value of the PrivateIpAddresses property for this object.

    - #### setPrivateIpAddresses

          public void setPrivateIpAddresses(java.util.Collection<PrivateIpAddressSpecification> privateIpAddresses)

      Sets the value of the PrivateIpAddresses property for this object.
      パラメータ:
        `privateIpAddresses` - The new value for the PrivateIpAddresses property for this object.

    - #### withPrivateIpAddresses

          public CreateNetworkInterfaceRequest withPrivateIpAddresses(PrivateIpAddressSpecification... privateIpAddresses)

      Sets the value of the PrivateIpAddresses property for this object.

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

      パラメータ:
        `privateIpAddresses` - The new value for the PrivateIpAddresses property for this object.

    - #### withPrivateIpAddresses

          public CreateNetworkInterfaceRequest withPrivateIpAddresses(java.util.Collection<PrivateIpAddressSpecification> privateIpAddresses)

      Sets the value of the PrivateIpAddresses property for this object.

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

      パラメータ:
        `privateIpAddresses` - The new value for the PrivateIpAddresses property for this object.

    - #### getSecondaryPrivateIpAddressCount

          public java.lang.Integer getSecondaryPrivateIpAddressCount()

      Returns the value of the SecondaryPrivateIpAddressCount property for this object.
      戻り値:
        The value of the SecondaryPrivateIpAddressCount property for this object.

    - #### setSecondaryPrivateIpAddressCount

          public void setSecondaryPrivateIpAddressCount(java.lang.Integer secondaryPrivateIpAddressCount)

      Sets the value of the SecondaryPrivateIpAddressCount property for this object.
      パラメータ:
        `secondaryPrivateIpAddressCount` - The new value for the SecondaryPrivateIpAddressCount property for this object.

    - #### withSecondaryPrivateIpAddressCount

          public CreateNetworkInterfaceRequest withSecondaryPrivateIpAddressCount(java.lang.Integer secondaryPrivateIpAddressCount)

      Sets the value of the SecondaryPrivateIpAddressCount property for this object.

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

      パラメータ:
        `secondaryPrivateIpAddressCount` - The new value for the SecondaryPrivateIpAddressCount property for this object.

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