com.amazonaws.services.ec2.model

## クラス CancelBundleTaskRequest

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

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

      public class CancelBundleTaskRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CancelBundleTask operation`.

  CancelBundleTask operation cancels a pending or in-progress bundling task. This is an asynchronous call and it make take a while for the task to be canceled. If a task is canceled while it is storing items, there may be parts of the incomplete AMI stored in S3. It is up to the caller to clean up these parts from S3.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getBundleId()` The ID of the bundle task to cancel.
    `int` | `hashCode()`
    `void` | `setBundleId(java.lang.String bundleId)` The ID of the bundle task to cancel.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CancelBundleTaskRequest` | `withBundleId(java.lang.String bundleId)` The ID of the bundle task to cancel.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CancelBundleTaskRequest

          public CancelBundleTaskRequest()

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

    - #### CancelBundleTaskRequest

          public CancelBundleTaskRequest(java.lang.String bundleId)

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

  - ### メソッドの詳細

    - #### getBundleId

          public java.lang.String getBundleId()

      The ID of the bundle task to cancel.
      戻り値:
        The ID of the bundle task to cancel.

    - #### setBundleId

          public void setBundleId(java.lang.String bundleId)

      The ID of the bundle task to cancel.
      パラメータ:
        `bundleId` - The ID of the bundle task to cancel.

    - #### withBundleId

          public CancelBundleTaskRequest withBundleId(java.lang.String bundleId)

      The ID of the bundle task to cancel.

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

      パラメータ:
        `bundleId` - The ID of the bundle task to cancel.

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