com.amazonaws.services.simpleworkflow.model

## クラス WorkflowExecutionTerminatedEventAttributes

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

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

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

  Provides details of the `WorkflowExecutionTerminated` event.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCause()` If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
    `java.lang.String` | `getChildPolicy()` The policy used for the child workflow executions of this workflow execution.
    `java.lang.String` | `getDetails()` The details provided for the termination (if any).
    `java.lang.String` | `getReason()` The reason provided for the termination (if any).
    `int` | `hashCode()`
    `void` | `setCause(java.lang.String cause)` If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
    `void` | `setCause(WorkflowExecutionTerminatedCause cause)` If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
    `void` | `setChildPolicy(ChildPolicy childPolicy)` The policy used for the child workflow executions of this workflow execution.
    `void` | `setChildPolicy(java.lang.String childPolicy)` The policy used for the child workflow executions of this workflow execution.
    `void` | `setDetails(java.lang.String details)` The details provided for the termination (if any).
    `void` | `setReason(java.lang.String reason)` The reason provided for the termination (if any).
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `WorkflowExecutionTerminatedEventAttributes` | `withCause(java.lang.String cause)` If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
    `WorkflowExecutionTerminatedEventAttributes` | `withCause(WorkflowExecutionTerminatedCause cause)` If set, indicates that the workflow execution was automatically terminated, and specifies the cause.
    `WorkflowExecutionTerminatedEventAttributes` | `withChildPolicy(ChildPolicy childPolicy)` The policy used for the child workflow executions of this workflow execution.
    `WorkflowExecutionTerminatedEventAttributes` | `withChildPolicy(java.lang.String childPolicy)` The policy used for the child workflow executions of this workflow execution.
    `WorkflowExecutionTerminatedEventAttributes` | `withDetails(java.lang.String details)` The details provided for the termination (if any).
    `WorkflowExecutionTerminatedEventAttributes` | `withReason(java.lang.String reason)` The reason provided for the termination (if any).

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

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

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

    - #### WorkflowExecutionTerminatedEventAttributes

          public WorkflowExecutionTerminatedEventAttributes()

  - ### メソッドの詳細

    - #### getReason

          public java.lang.String getReason()

      The reason provided for the termination (if any).

      Constraints:
      Length: 0 - 256

      戻り値:
        The reason provided for the termination (if any).

    - #### setReason

          public void setReason(java.lang.String reason)

      The reason provided for the termination (if any).

      Constraints:
      Length: 0 - 256

      パラメータ:
        `reason` - The reason provided for the termination (if any).

    - #### withReason

          public WorkflowExecutionTerminatedEventAttributes withReason(java.lang.String reason)

      The reason provided for the termination (if any).

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

      Constraints:
      Length: 0 - 256

      パラメータ:
        `reason` - The reason provided for the termination (if any).

    - #### getDetails

          public java.lang.String getDetails()

      The details provided for the termination (if any).

      Constraints:
      Length: 0 - 32768

      戻り値:
        The details provided for the termination (if any).

    - #### setDetails

          public void setDetails(java.lang.String details)

      The details provided for the termination (if any).

      Constraints:
      Length: 0 - 32768

      パラメータ:
        `details` - The details provided for the termination (if any).

    - #### withDetails

          public WorkflowExecutionTerminatedEventAttributes withDetails(java.lang.String details)

      The details provided for the termination (if any).

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

      Constraints:
      Length: 0 - 32768

      パラメータ:
        `details` - The details provided for the termination (if any).

    - #### getChildPolicy

          public java.lang.String getChildPolicy()

      The policy used for the child workflow executions of this workflow execution. The supported child policies are:
      - TERMINATE: the child executions will be terminated.
      - REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a `WorkflowExecutionCancelRequested` event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
      - ABANDON: no action will be taken. The child executions will continue to run.

      Constraints:
      Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

      戻り値:
        The policy used for the child workflow executions of this workflow execution. The supported child policies are:
        - TERMINATE: the child executions will be terminated.
        - REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a `WorkflowExecutionCancelRequested` event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
        - ABANDON: no action will be taken. The child executions will continue to run.
      関連項目:
        `ChildPolicy`

    - #### setChildPolicy

          public void setChildPolicy(java.lang.String childPolicy)

      The policy used for the child workflow executions of this workflow execution. The supported child policies are:
      - TERMINATE: the child executions will be terminated.
      - REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a `WorkflowExecutionCancelRequested` event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
      - ABANDON: no action will be taken. The child executions will continue to run.

      Constraints:
      Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

      パラメータ:
        `childPolicy` - The policy used for the child workflow executions of this workflow execution. The supported child policies are:
        - TERMINATE: the child executions will be terminated.
        - REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a `WorkflowExecutionCancelRequested` event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
        - ABANDON: no action will be taken. The child executions will continue to run.
      関連項目:
        `ChildPolicy`

    - #### withChildPolicy

          public WorkflowExecutionTerminatedEventAttributes withChildPolicy(java.lang.String childPolicy)

      The policy used for the child workflow executions of this workflow execution. The supported child policies are:
      - TERMINATE: the child executions will be terminated.
      - REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a `WorkflowExecutionCancelRequested` event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
      - ABANDON: no action will be taken. The child executions will continue to run.

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

      Constraints:
      Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

      パラメータ:
        `childPolicy` - The policy used for the child workflow executions of this workflow execution. The supported child policies are:
        - TERMINATE: the child executions will be terminated.
        - REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a `WorkflowExecutionCancelRequested` event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
        - ABANDON: no action will be taken. The child executions will continue to run.
      関連項目:
        `ChildPolicy`

    - #### setChildPolicy

          public void setChildPolicy(ChildPolicy childPolicy)

      The policy used for the child workflow executions of this workflow execution. The supported child policies are:
      - TERMINATE: the child executions will be terminated.
      - REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a `WorkflowExecutionCancelRequested` event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
      - ABANDON: no action will be taken. The child executions will continue to run.

      Constraints:
      Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

      パラメータ:
        `childPolicy` - The policy used for the child workflow executions of this workflow execution. The supported child policies are:
        - TERMINATE: the child executions will be terminated.
        - REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a `WorkflowExecutionCancelRequested` event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
        - ABANDON: no action will be taken. The child executions will continue to run.
      関連項目:
        `ChildPolicy`

    - #### withChildPolicy

          public WorkflowExecutionTerminatedEventAttributes withChildPolicy(ChildPolicy childPolicy)

      The policy used for the child workflow executions of this workflow execution. The supported child policies are:
      - TERMINATE: the child executions will be terminated.
      - REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a `WorkflowExecutionCancelRequested` event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
      - ABANDON: no action will be taken. The child executions will continue to run.

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

      Constraints:
      Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

      パラメータ:
        `childPolicy` - The policy used for the child workflow executions of this workflow execution. The supported child policies are:
        - TERMINATE: the child executions will be terminated.
        - REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a `WorkflowExecutionCancelRequested` event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
        - ABANDON: no action will be taken. The child executions will continue to run.
      関連項目:
        `ChildPolicy`

    - #### getCause

          public java.lang.String getCause()

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

      Constraints:
      Allowed Values: CHILD_POLICY_APPLIED, EVENT_LIMIT_EXCEEDED, OPERATOR_INITIATED

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

    - #### setCause

          public void setCause(java.lang.String cause)

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

      Constraints:
      Allowed Values: CHILD_POLICY_APPLIED, EVENT_LIMIT_EXCEEDED, OPERATOR_INITIATED

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

    - #### withCause

          public WorkflowExecutionTerminatedEventAttributes withCause(java.lang.String cause)

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

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

      Constraints:
      Allowed Values: CHILD_POLICY_APPLIED, EVENT_LIMIT_EXCEEDED, OPERATOR_INITIATED

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

    - #### setCause

          public void setCause(WorkflowExecutionTerminatedCause cause)

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

      Constraints:
      Allowed Values: CHILD_POLICY_APPLIED, EVENT_LIMIT_EXCEEDED, OPERATOR_INITIATED

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

    - #### withCause

          public WorkflowExecutionTerminatedEventAttributes withCause(WorkflowExecutionTerminatedCause cause)

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

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

      Constraints:
      Allowed Values: CHILD_POLICY_APPLIED, EVENT_LIMIT_EXCEEDED, OPERATOR_INITIATED

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

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