com.amazonaws.services.ec2.model

## クラス BundleInstanceRequest

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

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

      public class BundleInstanceRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `BundleInstance operation`.

  The BundleInstance operation request that an instance is bundled the next time it boots. The bundling process creates a new image from a running instance and stores the AMI data in S3. Once bundled, the image must be registered in the normal way using the RegisterImage API.

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

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

    コンストラクタ
    コンストラクタと説明
    `BundleInstanceRequest()` Default constructor for a new BundleInstanceRequest object.
    `BundleInstanceRequest(java.lang.String instanceId, Storage storage)` Constructs a new BundleInstanceRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getInstanceId()` The ID of the instance to bundle.
    `Storage` | `getStorage()`
    `int` | `hashCode()`
    `void` | `setInstanceId(java.lang.String instanceId)` The ID of the instance to bundle.
    `void` | `setStorage(Storage storage)`
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `BundleInstanceRequest` | `withInstanceId(java.lang.String instanceId)` The ID of the instance to bundle.
    `BundleInstanceRequest` | `withStorage(Storage storage)` Returns a reference to this object so that method calls can be chained together.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### BundleInstanceRequest

          public BundleInstanceRequest()

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

    - #### BundleInstanceRequest

          public BundleInstanceRequest(java.lang.String instanceId,
                               Storage storage)

      Constructs a new BundleInstanceRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `instanceId` - The ID of the instance to bundle.
        `storage` -

  - ### メソッドの詳細

    - #### getInstanceId

          public java.lang.String getInstanceId()

      The ID of the instance to bundle.
      戻り値:
        The ID of the instance to bundle.

    - #### setInstanceId

          public void setInstanceId(java.lang.String instanceId)

      The ID of the instance to bundle.
      パラメータ:
        `instanceId` - The ID of the instance to bundle.

    - #### withInstanceId

          public BundleInstanceRequest withInstanceId(java.lang.String instanceId)

      The ID of the instance to bundle.

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

      パラメータ:
        `instanceId` - The ID of the instance to bundle.

    - #### getStorage

          public Storage getStorage()

      戻り値:

    - #### setStorage

          public void setStorage(Storage storage)

      パラメータ:
        `storage` -

    - #### withStorage

          public BundleInstanceRequest withStorage(Storage storage)

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

      パラメータ:
        `storage` -

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