Class ListExecutionsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.sfn.model.SfnRequest
-
- software.amazon.awssdk.services.sfn.model.ListExecutionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListExecutionsRequest.Builder,ListExecutionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListExecutionsRequest extends SfnRequest implements ToCopyableBuilder<ListExecutionsRequest.Builder,ListExecutionsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListExecutionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListExecutionsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmapRunArn()The Amazon Resource Name (ARN) of the Map Run that started the child workflow executions.IntegermaxResults()The maximum number of results that are returned per call.StringnextToken()IfnextTokenis returned, there are more results available.ExecutionRedriveFilterredriveFilter()Sets a filter to list executions based on whether or not they have been redriven.StringredriveFilterAsString()Sets a filter to list executions based on whether or not they have been redriven.List<SdkField<?>>sdkFields()static Class<? extends ListExecutionsRequest.Builder>serializableBuilderClass()StringstateMachineArn()The Amazon Resource Name (ARN) of the state machine whose executions is listed.ExecutionStatusstatusFilter()If specified, only list the executions whose current execution status matches the given filter.StringstatusFilterAsString()If specified, only list the executions whose current execution status matches the given filter.ListExecutionsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
stateMachineArn
public final String stateMachineArn()
The Amazon Resource Name (ARN) of the state machine whose executions is listed.
You can specify either a
mapRunArnor astateMachineArn, but not both.You can also return a list of executions associated with a specific alias or version, by specifying an alias ARN or a version ARN in the
stateMachineArnparameter.- Returns:
- The Amazon Resource Name (ARN) of the state machine whose executions is listed.
You can specify either a
mapRunArnor astateMachineArn, but not both.You can also return a list of executions associated with a specific alias or version , by specifying an alias ARN or a version ARN in the
stateMachineArnparameter.
-
statusFilter
public final ExecutionStatus statusFilter()
If specified, only list the executions whose current execution status matches the given filter.
If the service returns an enum value that is not available in the current SDK version,
statusFilterwill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusFilterAsString().- Returns:
- If specified, only list the executions whose current execution status matches the given filter.
- See Also:
ExecutionStatus
-
statusFilterAsString
public final String statusFilterAsString()
If specified, only list the executions whose current execution status matches the given filter.
If the service returns an enum value that is not available in the current SDK version,
statusFilterwill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusFilterAsString().- Returns:
- If specified, only list the executions whose current execution status matches the given filter.
- See Also:
ExecutionStatus
-
maxResults
public final Integer maxResults()
The maximum number of results that are returned per call. You can use
nextTokento obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
- Returns:
- The maximum number of results that are returned per call. You can use
nextTokento obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
-
nextToken
public final String nextToken()
If
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.- Returns:
- If
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
-
mapRunArn
public final String mapRunArn()
The Amazon Resource Name (ARN) of the Map Run that started the child workflow executions. If the
mapRunArnfield is specified, a list of all of the child workflow executions started by a Map Run is returned. For more information, see Examining Map Run in the Step Functions Developer Guide.You can specify either a
mapRunArnor astateMachineArn, but not both.- Returns:
- The Amazon Resource Name (ARN) of the Map Run that started the child workflow executions. If the
mapRunArnfield is specified, a list of all of the child workflow executions started by a Map Run is returned. For more information, see Examining Map Run in the Step Functions Developer Guide.You can specify either a
mapRunArnor astateMachineArn, but not both.
-
redriveFilter
public final ExecutionRedriveFilter redriveFilter()
Sets a filter to list executions based on whether or not they have been redriven.
For a Distributed Map,
redriveFiltersets a filter to list child workflow executions based on whether or not they have been redriven.If you do not provide a
redriveFilter, Step Functions returns a list of both redriven and non-redriven executions.If you provide a state machine ARN in
redriveFilter, the API returns a validation exception.If the service returns an enum value that is not available in the current SDK version,
redriveFilterwill returnExecutionRedriveFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromredriveFilterAsString().- Returns:
- Sets a filter to list executions based on whether or not they have been redriven.
For a Distributed Map,
redriveFiltersets a filter to list child workflow executions based on whether or not they have been redriven.If you do not provide a
redriveFilter, Step Functions returns a list of both redriven and non-redriven executions.If you provide a state machine ARN in
redriveFilter, the API returns a validation exception. - See Also:
ExecutionRedriveFilter
-
redriveFilterAsString
public final String redriveFilterAsString()
Sets a filter to list executions based on whether or not they have been redriven.
For a Distributed Map,
redriveFiltersets a filter to list child workflow executions based on whether or not they have been redriven.If you do not provide a
redriveFilter, Step Functions returns a list of both redriven and non-redriven executions.If you provide a state machine ARN in
redriveFilter, the API returns a validation exception.If the service returns an enum value that is not available in the current SDK version,
redriveFilterwill returnExecutionRedriveFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromredriveFilterAsString().- Returns:
- Sets a filter to list executions based on whether or not they have been redriven.
For a Distributed Map,
redriveFiltersets a filter to list child workflow executions based on whether or not they have been redriven.If you do not provide a
redriveFilter, Step Functions returns a list of both redriven and non-redriven executions.If you provide a state machine ARN in
redriveFilter, the API returns a validation exception. - See Also:
ExecutionRedriveFilter
-
toBuilder
public ListExecutionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListExecutionsRequest.Builder,ListExecutionsRequest>- Specified by:
toBuilderin classSfnRequest
-
builder
public static ListExecutionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListExecutionsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-