com.amazonaws.services.ec2.model

## クラス ImportInstanceRequest

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

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

      public class ImportInstanceRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getDescription()` Returns the value of the Description property for this object.
    `java.util.List<DiskImage>` | `getDiskImages()` Returns the value of the DiskImages property for this object.
    `ImportInstanceLaunchSpecification` | `getLaunchSpecification()` Returns the value of the LaunchSpecification property for this object.
    `java.lang.String` | `getPlatform()` Returns the value of the Platform property for this object.
    `int` | `hashCode()`
    `void` | `setDescription(java.lang.String description)` Sets the value of the Description property for this object.
    `void` | `setDiskImages(java.util.Collection<DiskImage> diskImages)` Sets the value of the DiskImages property for this object.
    `void` | `setLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification)` Sets the value of the LaunchSpecification property for this object.
    `void` | `setPlatform(java.lang.String platform)` Sets the value of the Platform property for this object.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ImportInstanceRequest` | `withDescription(java.lang.String description)` Sets the value of the Description property for this object.
    `ImportInstanceRequest` | `withDiskImages(java.util.Collection<DiskImage> diskImages)` Sets the value of the DiskImages property for this object.
    `ImportInstanceRequest` | `withDiskImages(DiskImage... diskImages)` Sets the value of the DiskImages property for this object.
    `ImportInstanceRequest` | `withLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification)` Sets the value of the LaunchSpecification property for this object.
    `ImportInstanceRequest` | `withPlatform(java.lang.String platform)` Sets the value of the Platform property for this object.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### ImportInstanceRequest

          public ImportInstanceRequest()

  - ### メソッドの詳細

    - #### 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 ImportInstanceRequest 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.

    - #### getLaunchSpecification

          public ImportInstanceLaunchSpecification getLaunchSpecification()

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

    - #### setLaunchSpecification

          public void setLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification)

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

    - #### withLaunchSpecification

          public ImportInstanceRequest withLaunchSpecification(ImportInstanceLaunchSpecification launchSpecification)

      Sets the value of the LaunchSpecification property for this object.

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

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

    - #### getDiskImages

          public java.util.List<DiskImage> getDiskImages()

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

    - #### setDiskImages

          public void setDiskImages(java.util.Collection<DiskImage> diskImages)

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

    - #### withDiskImages

          public ImportInstanceRequest withDiskImages(DiskImage... diskImages)

      Sets the value of the DiskImages property for this object.

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

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

    - #### withDiskImages

          public ImportInstanceRequest withDiskImages(java.util.Collection<DiskImage> diskImages)

      Sets the value of the DiskImages property for this object.

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

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

    - #### getPlatform

          public java.lang.String getPlatform()

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

    - #### setPlatform

          public void setPlatform(java.lang.String platform)

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

    - #### withPlatform

          public ImportInstanceRequest withPlatform(java.lang.String platform)

      Sets the value of the Platform property for this object.

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

      パラメータ:
        `platform` - The new value for the Platform 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`