Class MapRunExecutionCounts

java.lang.Object
software.amazon.awssdk.services.sfn.model.MapRunExecutionCounts
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<MapRunExecutionCounts.Builder,MapRunExecutionCounts>

@Generated("software.amazon.awssdk:codegen") public final class MapRunExecutionCounts extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MapRunExecutionCounts.Builder,MapRunExecutionCounts>

Contains details about all of the child workflow executions started by a Map Run.

See Also:
  • Method Details

    • pending

      public final Long pending()

      The total number of child workflow executions that were started by a Map Run, but haven't started executing yet.

      Returns:
      The total number of child workflow executions that were started by a Map Run, but haven't started executing yet.
    • running

      public final Long running()

      The total number of child workflow executions that were started by a Map Run and are currently in-progress.

      Returns:
      The total number of child workflow executions that were started by a Map Run and are currently in-progress.
    • succeeded

      public final Long succeeded()

      The total number of child workflow executions that were started by a Map Run and have completed successfully.

      Returns:
      The total number of child workflow executions that were started by a Map Run and have completed successfully.
    • failed

      public final Long failed()

      The total number of child workflow executions that were started by a Map Run, but have failed.

      Returns:
      The total number of child workflow executions that were started by a Map Run, but have failed.
    • timedOut

      public final Long timedOut()

      The total number of child workflow executions that were started by a Map Run and have timed out.

      Returns:
      The total number of child workflow executions that were started by a Map Run and have timed out.
    • aborted

      public final Long aborted()

      The total number of child workflow executions that were started by a Map Run and were running, but were either stopped by the user or by Step Functions because the Map Run failed.

      Returns:
      The total number of child workflow executions that were started by a Map Run and were running, but were either stopped by the user or by Step Functions because the Map Run failed.
    • total

      public final Long total()

      The total number of child workflow executions that were started by a Map Run.

      Returns:
      The total number of child workflow executions that were started by a Map Run.
    • resultsWritten

      public final Long resultsWritten()

      Returns the count of child workflow executions whose results were written by ResultWriter. For more information, see ResultWriter in the Step Functions Developer Guide.

      Returns:
      Returns the count of child workflow executions whose results were written by ResultWriter. For more information, see ResultWriter in the Step Functions Developer Guide.
    • failuresNotRedrivable

      public final Long failuresNotRedrivable()

      The number of FAILED, ABORTED, or TIMED_OUT child workflow executions that cannot be redriven because their execution status is terminal. For example, child workflows with an execution status of FAILED, ABORTED, or TIMED_OUT and a redriveStatus of NOT_REDRIVABLE.

      Returns:
      The number of FAILED, ABORTED, or TIMED_OUT child workflow executions that cannot be redriven because their execution status is terminal. For example, child workflows with an execution status of FAILED, ABORTED, or TIMED_OUT and a redriveStatus of NOT_REDRIVABLE.
    • pendingRedrive

      public final Long pendingRedrive()

      The number of unsuccessful child workflow executions currently waiting to be redriven. The status of these child workflow executions could be FAILED, ABORTED, or TIMED_OUT in the original execution attempt or a previous redrive attempt.

      Returns:
      The number of unsuccessful child workflow executions currently waiting to be redriven. The status of these child workflow executions could be FAILED, ABORTED, or TIMED_OUT in the original execution attempt or a previous redrive attempt.
    • toBuilder

      public MapRunExecutionCounts.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<MapRunExecutionCounts.Builder,MapRunExecutionCounts>
      Returns:
      a builder for type T
    • builder

      public static MapRunExecutionCounts.Builder builder()
    • serializableBuilderClass

      public static Class<? extends MapRunExecutionCounts.Builder> serializableBuilderClass()
    • hashCode

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

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

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.