Class ExecutionListItem
- java.lang.Object
-
- software.amazon.awssdk.services.sfn.model.ExecutionListItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExecutionListItem.Builder,ExecutionListItem>
@Generated("software.amazon.awssdk:codegen") public final class ExecutionListItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExecutionListItem.Builder,ExecutionListItem>
Contains details about an execution.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExecutionListItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecutionListItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexecutionArn()The Amazon Resource Name (ARN) that identifies the execution.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegeritemCount()The total number of items processed in a child workflow execution.StringmapRunArn()The Amazon Resource Name (ARN) of a Map Run.Stringname()The name of the execution.IntegerredriveCount()The number of times you've redriven an execution.InstantredriveDate()The date the execution was last redriven.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ExecutionListItem.Builder>serializableBuilderClass()InstantstartDate()The date the execution started.StringstateMachineAliasArn()The Amazon Resource Name (ARN) of the state machine alias used to start an execution.StringstateMachineArn()The Amazon Resource Name (ARN) of the state machine that ran the execution.StringstateMachineVersionArn()The Amazon Resource Name (ARN) of the state machine version associated with the execution.ExecutionStatusstatus()The current status of the execution.StringstatusAsString()The current status of the execution.InstantstopDate()If the execution already ended, the date the execution stopped.ExecutionListItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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 _.
-
-
-
status
public final ExecutionStatus status()
The current status of the execution.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the execution.
- See Also:
ExecutionStatus
-
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,
statuswill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- 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
mapRunArnwas specified in theListExecutionsAPI action. IfstateMachineArnwas specified inListExecutions, themapRunArnisn't returned.- Returns:
- The Amazon Resource Name (ARN) of a Map Run. This field is returned only if
mapRunArnwas specified in theListExecutionsAPI action. IfstateMachineArnwas specified inListExecutions, themapRunArnisn't returned.
-
itemCount
public final Integer itemCount()
The total number of items processed in a child workflow execution. This field is returned only if
mapRunArnwas specified in theListExecutionsAPI action. IfstateMachineArnwas specified inListExecutions, theitemCountfield isn't returned.- Returns:
- The total number of items processed in a child workflow execution. This field is returned only if
mapRunArnwas specified in theListExecutionsAPI action. IfstateMachineArnwas specified inListExecutions, theitemCountfield 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 thestateMachineAliasArnandstateMachineVersionArnparameters 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 thestateMachineAliasArnandstateMachineVersionArnparameters 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
redriveCountis 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
redriveCountis 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.
-
toBuilder
public ExecutionListItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExecutionListItem.Builder,ExecutionListItem>
-
builder
public static ExecutionListItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExecutionListItem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-