com.amazonaws.services.simpleworkflow.model

## クラス WorkflowExecutionInfo

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

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

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

  Contains information about a workflow execution.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Boolean` | `getCancelRequested()` Set to true if a cancellation is requested for this workflow execution.
    `java.lang.String` | `getCloseStatus()` If the execution status is closed then this specifies how the execution was closed: COMPLETED: the execution was successfully completed.
    `java.util.Date` | `getCloseTimestamp()` The time when the workflow execution was closed.
    `WorkflowExecution` | `getExecution()` The workflow execution this information is about.
    `java.lang.String` | `getExecutionStatus()` The current status of the execution.
    `WorkflowExecution` | `getParent()` If this workflow execution is a child of another execution then contains the workflow execution that started this execution.
    `java.util.Date` | `getStartTimestamp()` The time when the execution was started.
    `java.util.List<java.lang.String>` | `getTagList()` The list of tags associated with the workflow execution.
    `WorkflowType` | `getWorkflowType()` The type of the workflow execution.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isCancelRequested()` Set to true if a cancellation is requested for this workflow execution.
    `void` | `setCancelRequested(java.lang.Boolean cancelRequested)` Set to true if a cancellation is requested for this workflow execution.
    `void` | `setCloseStatus(CloseStatus closeStatus)` If the execution status is closed then this specifies how the execution was closed: COMPLETED: the execution was successfully completed.
    `void` | `setCloseStatus(java.lang.String closeStatus)` If the execution status is closed then this specifies how the execution was closed: COMPLETED: the execution was successfully completed.
    `void` | `setCloseTimestamp(java.util.Date closeTimestamp)` The time when the workflow execution was closed.
    `void` | `setExecution(WorkflowExecution execution)` The workflow execution this information is about.
    `void` | `setExecutionStatus(ExecutionStatus executionStatus)` The current status of the execution.
    `void` | `setExecutionStatus(java.lang.String executionStatus)` The current status of the execution.
    `void` | `setParent(WorkflowExecution parent)` If this workflow execution is a child of another execution then contains the workflow execution that started this execution.
    `void` | `setStartTimestamp(java.util.Date startTimestamp)` The time when the execution was started.
    `void` | `setTagList(java.util.Collection<java.lang.String> tagList)` The list of tags associated with the workflow execution.
    `void` | `setWorkflowType(WorkflowType workflowType)` The type of the workflow execution.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `WorkflowExecutionInfo` | `withCancelRequested(java.lang.Boolean cancelRequested)` Set to true if a cancellation is requested for this workflow execution.
    `WorkflowExecutionInfo` | `withCloseStatus(CloseStatus closeStatus)` If the execution status is closed then this specifies how the execution was closed: COMPLETED: the execution was successfully completed.
    `WorkflowExecutionInfo` | `withCloseStatus(java.lang.String closeStatus)` If the execution status is closed then this specifies how the execution was closed: COMPLETED: the execution was successfully completed.
    `WorkflowExecutionInfo` | `withCloseTimestamp(java.util.Date closeTimestamp)` The time when the workflow execution was closed.
    `WorkflowExecutionInfo` | `withExecution(WorkflowExecution execution)` The workflow execution this information is about.
    `WorkflowExecutionInfo` | `withExecutionStatus(ExecutionStatus executionStatus)` The current status of the execution.
    `WorkflowExecutionInfo` | `withExecutionStatus(java.lang.String executionStatus)` The current status of the execution.
    `WorkflowExecutionInfo` | `withParent(WorkflowExecution parent)` If this workflow execution is a child of another execution then contains the workflow execution that started this execution.
    `WorkflowExecutionInfo` | `withStartTimestamp(java.util.Date startTimestamp)` The time when the execution was started.
    `WorkflowExecutionInfo` | `withTagList(java.util.Collection<java.lang.String> tagList)` The list of tags associated with the workflow execution.
    `WorkflowExecutionInfo` | `withTagList(java.lang.String... tagList)` The list of tags associated with the workflow execution.
    `WorkflowExecutionInfo` | `withWorkflowType(WorkflowType workflowType)` The type of the workflow execution.

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

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

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

    - #### WorkflowExecutionInfo

          public WorkflowExecutionInfo()

  - ### メソッドの詳細

    - #### getExecution

          public WorkflowExecution getExecution()

      The workflow execution this information is about.
      戻り値:
        The workflow execution this information is about.

    - #### setExecution

          public void setExecution(WorkflowExecution execution)

      The workflow execution this information is about.
      パラメータ:
        `execution` - The workflow execution this information is about.

    - #### withExecution

          public WorkflowExecutionInfo withExecution(WorkflowExecution execution)

      The workflow execution this information is about.

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

      パラメータ:
        `execution` - The workflow execution this information is about.

    - #### getWorkflowType

          public WorkflowType getWorkflowType()

      The type of the workflow execution.
      戻り値:
        The type of the workflow execution.

    - #### setWorkflowType

          public void setWorkflowType(WorkflowType workflowType)

      The type of the workflow execution.
      パラメータ:
        `workflowType` - The type of the workflow execution.

    - #### withWorkflowType

          public WorkflowExecutionInfo withWorkflowType(WorkflowType workflowType)

      The type of the workflow execution.

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

      パラメータ:
        `workflowType` - The type of the workflow execution.

    - #### getStartTimestamp

          public java.util.Date getStartTimestamp()

      The time when the execution was started.
      戻り値:
        The time when the execution was started.

    - #### setStartTimestamp

          public void setStartTimestamp(java.util.Date startTimestamp)

      The time when the execution was started.
      パラメータ:
        `startTimestamp` - The time when the execution was started.

    - #### withStartTimestamp

          public WorkflowExecutionInfo withStartTimestamp(java.util.Date startTimestamp)

      The time when the execution was started.

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

      パラメータ:
        `startTimestamp` - The time when the execution was started.

    - #### getCloseTimestamp

          public java.util.Date getCloseTimestamp()

      The time when the workflow execution was closed. Set only if the execution status is CLOSED.
      戻り値:
        The time when the workflow execution was closed. Set only if the execution status is CLOSED.

    - #### setCloseTimestamp

          public void setCloseTimestamp(java.util.Date closeTimestamp)

      The time when the workflow execution was closed. Set only if the execution status is CLOSED.
      パラメータ:
        `closeTimestamp` - The time when the workflow execution was closed. Set only if the execution status is CLOSED.

    - #### withCloseTimestamp

          public WorkflowExecutionInfo withCloseTimestamp(java.util.Date closeTimestamp)

      The time when the workflow execution was closed. Set only if the execution status is CLOSED.

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

      パラメータ:
        `closeTimestamp` - The time when the workflow execution was closed. Set only if the execution status is CLOSED.

    - #### getExecutionStatus

          public java.lang.String getExecutionStatus()

      The current status of the execution.

      Constraints:
      Allowed Values: OPEN, CLOSED

      戻り値:
        The current status of the execution.
      関連項目:
        `ExecutionStatus`

    - #### setExecutionStatus

          public void setExecutionStatus(java.lang.String executionStatus)

      The current status of the execution.

      Constraints:
      Allowed Values: OPEN, CLOSED

      パラメータ:
        `executionStatus` - The current status of the execution.
      関連項目:
        `ExecutionStatus`

    - #### withExecutionStatus

          public WorkflowExecutionInfo withExecutionStatus(java.lang.String executionStatus)

      The current status of the execution.

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

      Constraints:
      Allowed Values: OPEN, CLOSED

      パラメータ:
        `executionStatus` - The current status of the execution.
      関連項目:
        `ExecutionStatus`

    - #### setExecutionStatus

          public void setExecutionStatus(ExecutionStatus executionStatus)

      The current status of the execution.

      Constraints:
      Allowed Values: OPEN, CLOSED

      パラメータ:
        `executionStatus` - The current status of the execution.
      関連項目:
        `ExecutionStatus`

    - #### withExecutionStatus

          public WorkflowExecutionInfo withExecutionStatus(ExecutionStatus executionStatus)

      The current status of the execution.

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

      Constraints:
      Allowed Values: OPEN, CLOSED

      パラメータ:
        `executionStatus` - The current status of the execution.
      関連項目:
        `ExecutionStatus`

    - #### getCloseStatus

          public java.lang.String getCloseStatus()

      If the execution status is closed then this specifies how the execution was closed:
      - COMPLETED: the execution was successfully completed.
      - CANCELED: the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed.
      - TERMINATED: the execution was force terminated.
      - FAILED: the execution failed to complete.
      - TIMED_OUT: the execution did not complete in the alloted time and was automatically timed out.
      - CONTINUED_AS_NEW: the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.

      Constraints:
      Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT

      戻り値:
        If the execution status is closed then this specifies how the execution was closed:
        - COMPLETED: the execution was successfully completed.
        - CANCELED: the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed.
        - TERMINATED: the execution was force terminated.
        - FAILED: the execution failed to complete.
        - TIMED_OUT: the execution did not complete in the alloted time and was automatically timed out.
        - CONTINUED_AS_NEW: the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.
      関連項目:
        `CloseStatus`

    - #### setCloseStatus

          public void setCloseStatus(java.lang.String closeStatus)

      If the execution status is closed then this specifies how the execution was closed:
      - COMPLETED: the execution was successfully completed.
      - CANCELED: the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed.
      - TERMINATED: the execution was force terminated.
      - FAILED: the execution failed to complete.
      - TIMED_OUT: the execution did not complete in the alloted time and was automatically timed out.
      - CONTINUED_AS_NEW: the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.

      Constraints:
      Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT

      パラメータ:
        `closeStatus` - If the execution status is closed then this specifies how the execution was closed:
        - COMPLETED: the execution was successfully completed.
        - CANCELED: the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed.
        - TERMINATED: the execution was force terminated.
        - FAILED: the execution failed to complete.
        - TIMED_OUT: the execution did not complete in the alloted time and was automatically timed out.
        - CONTINUED_AS_NEW: the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.
      関連項目:
        `CloseStatus`

    - #### withCloseStatus

          public WorkflowExecutionInfo withCloseStatus(java.lang.String closeStatus)

      If the execution status is closed then this specifies how the execution was closed:
      - COMPLETED: the execution was successfully completed.
      - CANCELED: the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed.
      - TERMINATED: the execution was force terminated.
      - FAILED: the execution failed to complete.
      - TIMED_OUT: the execution did not complete in the alloted time and was automatically timed out.
      - CONTINUED_AS_NEW: the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.

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

      Constraints:
      Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT

      パラメータ:
        `closeStatus` - If the execution status is closed then this specifies how the execution was closed:
        - COMPLETED: the execution was successfully completed.
        - CANCELED: the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed.
        - TERMINATED: the execution was force terminated.
        - FAILED: the execution failed to complete.
        - TIMED_OUT: the execution did not complete in the alloted time and was automatically timed out.
        - CONTINUED_AS_NEW: the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.
      関連項目:
        `CloseStatus`

    - #### setCloseStatus

          public void setCloseStatus(CloseStatus closeStatus)

      If the execution status is closed then this specifies how the execution was closed:
      - COMPLETED: the execution was successfully completed.
      - CANCELED: the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed.
      - TERMINATED: the execution was force terminated.
      - FAILED: the execution failed to complete.
      - TIMED_OUT: the execution did not complete in the alloted time and was automatically timed out.
      - CONTINUED_AS_NEW: the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.

      Constraints:
      Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT

      パラメータ:
        `closeStatus` - If the execution status is closed then this specifies how the execution was closed:
        - COMPLETED: the execution was successfully completed.
        - CANCELED: the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed.
        - TERMINATED: the execution was force terminated.
        - FAILED: the execution failed to complete.
        - TIMED_OUT: the execution did not complete in the alloted time and was automatically timed out.
        - CONTINUED_AS_NEW: the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.
      関連項目:
        `CloseStatus`

    - #### withCloseStatus

          public WorkflowExecutionInfo withCloseStatus(CloseStatus closeStatus)

      If the execution status is closed then this specifies how the execution was closed:
      - COMPLETED: the execution was successfully completed.
      - CANCELED: the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed.
      - TERMINATED: the execution was force terminated.
      - FAILED: the execution failed to complete.
      - TIMED_OUT: the execution did not complete in the alloted time and was automatically timed out.
      - CONTINUED_AS_NEW: the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.

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

      Constraints:
      Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT

      パラメータ:
        `closeStatus` - If the execution status is closed then this specifies how the execution was closed:
        - COMPLETED: the execution was successfully completed.
        - CANCELED: the execution was canceled.Cancellation allows the implementation to gracefully clean up before the execution is closed.
        - TERMINATED: the execution was force terminated.
        - FAILED: the execution failed to complete.
        - TIMED_OUT: the execution did not complete in the alloted time and was automatically timed out.
        - CONTINUED_AS_NEW: the execution is logically continued. This means the current execution was completed and a new execution was started to carry on the workflow.
      関連項目:
        `CloseStatus`

    - #### getParent

          public WorkflowExecution getParent()

      If this workflow execution is a child of another execution then contains the workflow execution that started this execution.
      戻り値:
        If this workflow execution is a child of another execution then contains the workflow execution that started this execution.

    - #### setParent

          public void setParent(WorkflowExecution parent)

      If this workflow execution is a child of another execution then contains the workflow execution that started this execution.
      パラメータ:
        `parent` - If this workflow execution is a child of another execution then contains the workflow execution that started this execution.

    - #### withParent

          public WorkflowExecutionInfo withParent(WorkflowExecution parent)

      If this workflow execution is a child of another execution then contains the workflow execution that started this execution.

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

      パラメータ:
        `parent` - If this workflow execution is a child of another execution then contains the workflow execution that started this execution.

    - #### getTagList

          public java.util.List<java.lang.String> getTagList()

      The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.

      Constraints:
      Length: 0 - 5

      戻り値:
        The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.

    - #### setTagList

          public void setTagList(java.util.Collection<java.lang.String> tagList)

      The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.

      Constraints:
      Length: 0 - 5

      パラメータ:
        `tagList` - The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.

    - #### withTagList

          public WorkflowExecutionInfo withTagList(java.lang.String... tagList)

      The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.

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

      Constraints:
      Length: 0 - 5

      パラメータ:
        `tagList` - The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.

    - #### withTagList

          public WorkflowExecutionInfo withTagList(java.util.Collection<java.lang.String> tagList)

      The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.

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

      Constraints:
      Length: 0 - 5

      パラメータ:
        `tagList` - The list of tags associated with the workflow execution. Tags can be used to identify and list workflow executions of interest through the visibility APIs. A workflow execution can have a maximum of 5 tags.

    - #### isCancelRequested

          public java.lang.Boolean isCancelRequested()

      Set to true if a cancellation is requested for this workflow execution.
      戻り値:
        Set to true if a cancellation is requested for this workflow execution.

    - #### setCancelRequested

          public void setCancelRequested(java.lang.Boolean cancelRequested)

      Set to true if a cancellation is requested for this workflow execution.
      パラメータ:
        `cancelRequested` - Set to true if a cancellation is requested for this workflow execution.

    - #### withCancelRequested

          public WorkflowExecutionInfo withCancelRequested(java.lang.Boolean cancelRequested)

      Set to true if a cancellation is requested for this workflow execution.

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

      パラメータ:
        `cancelRequested` - Set to true if a cancellation is requested for this workflow execution.

    - #### getCancelRequested

          public java.lang.Boolean getCancelRequested()

      Set to true if a cancellation is requested for this workflow execution.
      戻り値:
        Set to true if a cancellation is requested for this 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`