Class ExecutionListItem

    • Method Detail

      • executionArn

        public final String executionArn()

        The Amazon Resource Name (ARN) that identifies the execution.

        Returns:
        The Amazon Resource Name (ARN) that identifies the execution.
      • stateMachineArn

        public final String stateMachineArn()

        The Amazon Resource Name (ARN) of the state machine that ran the execution.

        Returns:
        The Amazon Resource Name (ARN) of the state machine that ran the execution.
      • name

        public final String name()

        The name of the execution.

        A name must not contain:

        • white space

        • brackets < > { } [ ]

        • wildcard characters ? *

        • special characters " # % \ ^ | ~ ` $ & , ; : /

        • control characters (U+0000-001F, U+007F-009F)

        To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

        Returns:
        The name of the execution.

        A name must not contain:

        • white space

        • brackets < > { } [ ]

        • wildcard characters ? *

        • special characters " # % \ ^ | ~ ` $ & , ; : /

        • control characters (U+0000-001F, U+007F-009F)

        To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.

      • statusAsString

        public final String statusAsString()

        The current status of the execution.

        If the service returns an enum value that is not available in the current SDK version, status will return ExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The current status of the execution.
        See Also:
        ExecutionStatus
      • startDate

        public final Instant startDate()

        The date the execution started.

        Returns:
        The date the execution started.
      • stopDate

        public final Instant stopDate()

        If the execution already ended, the date the execution stopped.

        Returns:
        If the execution already ended, the date the execution stopped.
      • mapRunArn

        public final String mapRunArn()

        The Amazon Resource Name (ARN) of a Map Run. This field is returned only if mapRunArn was specified in the ListExecutions API action. If stateMachineArn was specified in ListExecutions, the mapRunArn isn't returned.

        Returns:
        The Amazon Resource Name (ARN) of a Map Run. This field is returned only if mapRunArn was specified in the ListExecutions API action. If stateMachineArn was specified in ListExecutions, the mapRunArn isn't returned.
      • itemCount

        public final Integer itemCount()

        The total number of items processed in a child workflow execution. This field is returned only if mapRunArn was specified in the ListExecutions API action. If stateMachineArn was specified in ListExecutions, the itemCount field isn't returned.

        Returns:
        The total number of items processed in a child workflow execution. This field is returned only if mapRunArn was specified in the ListExecutions API action. If stateMachineArn was specified in ListExecutions, the itemCount field isn't returned.
      • stateMachineVersionArn

        public final String stateMachineVersionArn()

        The Amazon Resource Name (ARN) of the state machine version associated with the execution.

        If the state machine execution was started with an unqualified ARN, it returns null.

        If the execution was started using a stateMachineAliasArn, both the stateMachineAliasArn and stateMachineVersionArn parameters contain the respective values.

        Returns:
        The Amazon Resource Name (ARN) of the state machine version associated with the execution.

        If the state machine execution was started with an unqualified ARN, it returns null.

        If the execution was started using a stateMachineAliasArn, both the stateMachineAliasArn and stateMachineVersionArn parameters contain the respective values.

      • stateMachineAliasArn

        public final String stateMachineAliasArn()

        The Amazon Resource Name (ARN) of the state machine alias used to start an execution.

        If the state machine execution was started with an unqualified ARN or a version ARN, it returns null.

        Returns:
        The Amazon Resource Name (ARN) of the state machine alias used to start an execution.

        If the state machine execution was started with an unqualified ARN or a version ARN, it returns null.

      • redriveCount

        public final Integer redriveCount()

        The number of times you've redriven an execution. If you have not yet redriven an execution, the redriveCount is 0. This count is only updated when you successfully redrive an execution.

        Returns:
        The number of times you've redriven an execution. If you have not yet redriven an execution, the redriveCount is 0. This count is only updated when you successfully redrive an execution.
      • redriveDate

        public final Instant redriveDate()

        The date the execution was last redriven.

        Returns:
        The date the execution was last redriven.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)