com.amazonaws.services.simpleworkflow.model

## クラス RequestCancelExternalWorkflowExecutionDecisionAttributes

- java.lang.Object
- - com.amazonaws.services.simpleworkflow.model.RequestCancelExternalWorkflowExecutionDecisionAttributes

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

      public class RequestCancelExternalWorkflowExecutionDecisionAttributes
      extends java.lang.Object
      implements java.io.Serializable

  Provides details of the `RequestCancelExternalWorkflowExecution` decision.

  Access Control

  You can use IAM policies to control this decision's access to Amazon SWF in much the same way as for the regular API:

  - Use a `Resource` element with the domain name to limit the decision to only specified domains.
  - Use an `Action` element to allow or deny permission to specify this decision.
  - You cannot use an IAM policy to constrain this action's parameters.

  If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows .

  関連項目:
    直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getControl()` Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
    `java.lang.String` | `getRunId()` The `runId` of the external workflow execution to cancel.
    `java.lang.String` | `getWorkflowId()` The `workflowId` of the external workflow execution to cancel.
    `int` | `hashCode()`
    `void` | `setControl(java.lang.String control)` Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
    `void` | `setRunId(java.lang.String runId)` The `runId` of the external workflow execution to cancel.
    `void` | `setWorkflowId(java.lang.String workflowId)` The `workflowId` of the external workflow execution to cancel.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `RequestCancelExternalWorkflowExecutionDecisionAttributes` | `withControl(java.lang.String control)` Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
    `RequestCancelExternalWorkflowExecutionDecisionAttributes` | `withRunId(java.lang.String runId)` The `runId` of the external workflow execution to cancel.
    `RequestCancelExternalWorkflowExecutionDecisionAttributes` | `withWorkflowId(java.lang.String workflowId)` The `workflowId` of the external workflow execution to cancel.

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

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

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

    - #### RequestCancelExternalWorkflowExecutionDecisionAttributes

          public RequestCancelExternalWorkflowExecutionDecisionAttributes()

  - ### メソッドの詳細

    - #### getWorkflowId

          public java.lang.String getWorkflowId()

      The `workflowId` of the external workflow execution to cancel. This field is required.

      Constraints:
      Length: 1 - 256

      戻り値:
        The `workflowId` of the external workflow execution to cancel. This field is required.

    - #### setWorkflowId

          public void setWorkflowId(java.lang.String workflowId)

      The `workflowId` of the external workflow execution to cancel. This field is required.

      Constraints:
      Length: 1 - 256

      パラメータ:
        `workflowId` - The `workflowId` of the external workflow execution to cancel. This field is required.

    - #### withWorkflowId

          public RequestCancelExternalWorkflowExecutionDecisionAttributes withWorkflowId(java.lang.String workflowId)

      The `workflowId` of the external workflow execution to cancel. This field is required.

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

      Constraints:
      Length: 1 - 256

      パラメータ:
        `workflowId` - The `workflowId` of the external workflow execution to cancel. This field is required.

    - #### getRunId

          public java.lang.String getRunId()

      The `runId` of the external workflow execution to cancel.

      Constraints:
      Length: 0 - 64

      戻り値:
        The `runId` of the external workflow execution to cancel.

    - #### setRunId

          public void setRunId(java.lang.String runId)

      The `runId` of the external workflow execution to cancel.

      Constraints:
      Length: 0 - 64

      パラメータ:
        `runId` - The `runId` of the external workflow execution to cancel.

    - #### withRunId

          public RequestCancelExternalWorkflowExecutionDecisionAttributes withRunId(java.lang.String runId)

      The `runId` of the external workflow execution to cancel.

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

      Constraints:
      Length: 0 - 64

      パラメータ:
        `runId` - The `runId` of the external workflow execution to cancel.

    - #### getControl

          public java.lang.String getControl()

      Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

      Constraints:
      Length: 0 - 32768

      戻り値:
        Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

    - #### setControl

          public void setControl(java.lang.String control)

      Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

      Constraints:
      Length: 0 - 32768

      パラメータ:
        `control` - Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

    - #### withControl

          public RequestCancelExternalWorkflowExecutionDecisionAttributes withControl(java.lang.String control)

      Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

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

      Constraints:
      Length: 0 - 32768

      パラメータ:
        `control` - Optional data attached to the event that can be used by the decider in subsequent workflow tasks.

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