com.amazonaws.services.simpleworkflow.model

## クラス RespondDecisionTaskCompletedRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.simpleworkflow.model.RespondDecisionTaskCompletedRequest

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

      public class RespondDecisionTaskCompletedRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `RespondDecisionTaskCompleted operation`.

  Used by deciders to tell the service that the DecisionTask identified by the `taskToken` has successfully completed. The `decisions` argument specifies the list of decisions made while processing the task.

  A `DecisionTaskCompleted` event is added to the workflow history. The `executionContext` specified is attached to the event in the workflow execution history.

  Access Control

  If an IAM policy grants permission to use `RespondDecisionTaskCompleted` , it can express permissions for the list of decisions in the `decisions` parameter in the same way as for the regular API. This approach maintains a uniform conceptual model and helps keep policies readable. For more information, see Using IAM to Manage Access to Amazon SWF Workflows .

  関連項目:
    `AmazonSimpleWorkflow.respondDecisionTaskCompleted(RespondDecisionTaskCompletedRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<Decision>` | `getDecisions()` The list of decisions (possibly empty) made by the decider while processing this decision task.
    `java.lang.String` | `getExecutionContext()` User defined context to add to workflow execution.
    `java.lang.String` | `getTaskToken()` The `taskToken` from the DecisionTask.
    `int` | `hashCode()`
    `void` | `setDecisions(java.util.Collection<Decision> decisions)` The list of decisions (possibly empty) made by the decider while processing this decision task.
    `void` | `setExecutionContext(java.lang.String executionContext)` User defined context to add to workflow execution.
    `void` | `setTaskToken(java.lang.String taskToken)` The `taskToken` from the DecisionTask.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `RespondDecisionTaskCompletedRequest` | `withDecisions(java.util.Collection<Decision> decisions)` The list of decisions (possibly empty) made by the decider while processing this decision task.
    `RespondDecisionTaskCompletedRequest` | `withDecisions(Decision... decisions)` The list of decisions (possibly empty) made by the decider while processing this decision task.
    `RespondDecisionTaskCompletedRequest` | `withExecutionContext(java.lang.String executionContext)` User defined context to add to workflow execution.
    `RespondDecisionTaskCompletedRequest` | `withTaskToken(java.lang.String taskToken)` The `taskToken` from the DecisionTask.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### RespondDecisionTaskCompletedRequest

          public RespondDecisionTaskCompletedRequest()

  - ### メソッドの詳細

    - #### getTaskToken

          public java.lang.String getTaskToken()

      The `taskToken` from the DecisionTask. The `taskToken` is generated by the service and should be treated as an opaque value. If the task is passed to another process, its `taskToken` must also be passed. This enables it to provide its progress and respond with results.

      Constraints:
      Length: 1 - 1024

      戻り値:
        The `taskToken` from the DecisionTask. The `taskToken` is generated by the service and should be treated as an opaque value. If the task is passed to another process, its `taskToken` must also be passed. This enables it to provide its progress and respond with results.

    - #### setTaskToken

          public void setTaskToken(java.lang.String taskToken)

      The `taskToken` from the DecisionTask. The `taskToken` is generated by the service and should be treated as an opaque value. If the task is passed to another process, its `taskToken` must also be passed. This enables it to provide its progress and respond with results.

      Constraints:
      Length: 1 - 1024

      パラメータ:
        `taskToken` - The `taskToken` from the DecisionTask. The `taskToken` is generated by the service and should be treated as an opaque value. If the task is passed to another process, its `taskToken` must also be passed. This enables it to provide its progress and respond with results.

    - #### withTaskToken

          public RespondDecisionTaskCompletedRequest withTaskToken(java.lang.String taskToken)

      The `taskToken` from the DecisionTask. The `taskToken` is generated by the service and should be treated as an opaque value. If the task is passed to another process, its `taskToken` must also be passed. This enables it to provide its progress and respond with results.

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

      Constraints:
      Length: 1 - 1024

      パラメータ:
        `taskToken` - The `taskToken` from the DecisionTask. The `taskToken` is generated by the service and should be treated as an opaque value. If the task is passed to another process, its `taskToken` must also be passed. This enables it to provide its progress and respond with results.

    - #### getDecisions

          public java.util.List<Decision> getDecisions()

      The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.
      戻り値:
        The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.

    - #### setDecisions

          public void setDecisions(java.util.Collection<Decision> decisions)

      The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.
      パラメータ:
        `decisions` - The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.

    - #### withDecisions

          public RespondDecisionTaskCompletedRequest withDecisions(Decision... decisions)

      The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.

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

      パラメータ:
        `decisions` - The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.

    - #### withDecisions

          public RespondDecisionTaskCompletedRequest withDecisions(java.util.Collection<Decision> decisions)

      The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.

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

      パラメータ:
        `decisions` - The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the Decision structure for details.

    - #### getExecutionContext

          public java.lang.String getExecutionContext()

      User defined context to add to workflow execution.

      Constraints:
      Length: 0 - 32768

      戻り値:
        User defined context to add to workflow execution.

    - #### setExecutionContext

          public void setExecutionContext(java.lang.String executionContext)

      User defined context to add to workflow execution.

      Constraints:
      Length: 0 - 32768

      パラメータ:
        `executionContext` - User defined context to add to workflow execution.

    - #### withExecutionContext

          public RespondDecisionTaskCompletedRequest withExecutionContext(java.lang.String executionContext)

      User defined context to add to workflow execution.

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

      Constraints:
      Length: 0 - 32768

      パラメータ:
        `executionContext` - User defined context to add to workflow execution.

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