com.amazonaws.services.simpleworkflow.model

## クラス WorkflowExecutionCancelRequestedEventAttributes

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

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

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

  Provides details of the `WorkflowExecutionCancelRequested` event.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCause()` If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause.
    `java.lang.Long` | `getExternalInitiatedEventId()` The id of the `RequestCancelExternalWorkflowExecutionInitiated` event corresponding to the `RequestCancelExternalWorkflowExecution` decision to cancel this workflow execution.The source event with this Id can be found in the history of the source workflow execution.
    `WorkflowExecution` | `getExternalWorkflowExecution()` The external workflow execution for which the cancellation was requested.
    `int` | `hashCode()`
    `void` | `setCause(java.lang.String cause)` If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause.
    `void` | `setCause(WorkflowExecutionCancelRequestedCause cause)` If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause.
    `void` | `setExternalInitiatedEventId(java.lang.Long externalInitiatedEventId)` The id of the `RequestCancelExternalWorkflowExecutionInitiated` event corresponding to the `RequestCancelExternalWorkflowExecution` decision to cancel this workflow execution.The source event with this Id can be found in the history of the source workflow execution.
    `void` | `setExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)` The external workflow execution for which the cancellation was requested.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `WorkflowExecutionCancelRequestedEventAttributes` | `withCause(java.lang.String cause)` If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause.
    `WorkflowExecutionCancelRequestedEventAttributes` | `withCause(WorkflowExecutionCancelRequestedCause cause)` If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause.
    `WorkflowExecutionCancelRequestedEventAttributes` | `withExternalInitiatedEventId(java.lang.Long externalInitiatedEventId)` The id of the `RequestCancelExternalWorkflowExecutionInitiated` event corresponding to the `RequestCancelExternalWorkflowExecution` decision to cancel this workflow execution.The source event with this Id can be found in the history of the source workflow execution.
    `WorkflowExecutionCancelRequestedEventAttributes` | `withExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)` The external workflow execution for which the cancellation was requested.

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

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

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

    - #### WorkflowExecutionCancelRequestedEventAttributes

          public WorkflowExecutionCancelRequestedEventAttributes()

  - ### メソッドの詳細

    - #### getExternalWorkflowExecution

          public WorkflowExecution getExternalWorkflowExecution()

      The external workflow execution for which the cancellation was requested.
      戻り値:
        The external workflow execution for which the cancellation was requested.

    - #### setExternalWorkflowExecution

          public void setExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)

      The external workflow execution for which the cancellation was requested.
      パラメータ:
        `externalWorkflowExecution` - The external workflow execution for which the cancellation was requested.

    - #### withExternalWorkflowExecution

          public WorkflowExecutionCancelRequestedEventAttributes withExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)

      The external workflow execution for which the cancellation was requested.

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

      パラメータ:
        `externalWorkflowExecution` - The external workflow execution for which the cancellation was requested.

    - #### getExternalInitiatedEventId

          public java.lang.Long getExternalInitiatedEventId()

      The id of the `RequestCancelExternalWorkflowExecutionInitiated` event corresponding to the `RequestCancelExternalWorkflowExecution` decision to cancel this workflow execution.The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      戻り値:
        The id of the `RequestCancelExternalWorkflowExecutionInitiated` event corresponding to the `RequestCancelExternalWorkflowExecution` decision to cancel this workflow execution.The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

    - #### setExternalInitiatedEventId

          public void setExternalInitiatedEventId(java.lang.Long externalInitiatedEventId)

      The id of the `RequestCancelExternalWorkflowExecutionInitiated` event corresponding to the `RequestCancelExternalWorkflowExecution` decision to cancel this workflow execution.The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      パラメータ:
        `externalInitiatedEventId` - The id of the `RequestCancelExternalWorkflowExecutionInitiated` event corresponding to the `RequestCancelExternalWorkflowExecution` decision to cancel this workflow execution.The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

    - #### withExternalInitiatedEventId

          public WorkflowExecutionCancelRequestedEventAttributes withExternalInitiatedEventId(java.lang.Long externalInitiatedEventId)

      The id of the `RequestCancelExternalWorkflowExecutionInitiated` event corresponding to the `RequestCancelExternalWorkflowExecution` decision to cancel this workflow execution.The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

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

      パラメータ:
        `externalInitiatedEventId` - The id of the `RequestCancelExternalWorkflowExecutionInitiated` event corresponding to the `RequestCancelExternalWorkflowExecution` decision to cancel this workflow execution.The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

    - #### getCause

          public java.lang.String getCause()

      If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

      Constraints:
      Allowed Values: CHILD_POLICY_APPLIED

      戻り値:
        If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
      関連項目:
        `WorkflowExecutionCancelRequestedCause`

    - #### setCause

          public void setCause(java.lang.String cause)

      If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

      Constraints:
      Allowed Values: CHILD_POLICY_APPLIED

      パラメータ:
        `cause` - If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
      関連項目:
        `WorkflowExecutionCancelRequestedCause`

    - #### withCause

          public WorkflowExecutionCancelRequestedEventAttributes withCause(java.lang.String cause)

      If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

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

      Constraints:
      Allowed Values: CHILD_POLICY_APPLIED

      パラメータ:
        `cause` - If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
      関連項目:
        `WorkflowExecutionCancelRequestedCause`

    - #### setCause

          public void setCause(WorkflowExecutionCancelRequestedCause cause)

      If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

      Constraints:
      Allowed Values: CHILD_POLICY_APPLIED

      パラメータ:
        `cause` - If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
      関連項目:
        `WorkflowExecutionCancelRequestedCause`

    - #### withCause

          public WorkflowExecutionCancelRequestedEventAttributes withCause(WorkflowExecutionCancelRequestedCause cause)

      If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.

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

      Constraints:
      Allowed Values: CHILD_POLICY_APPLIED

      パラメータ:
        `cause` - If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
      関連項目:
        `WorkflowExecutionCancelRequestedCause`

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