Interface ListOpenWorkflowExecutionsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListOpenWorkflowExecutionsRequest.Builder,ListOpenWorkflowExecutionsRequest>, SdkBuilder<ListOpenWorkflowExecutionsRequest.Builder,ListOpenWorkflowExecutionsRequest>, SdkPojo, SdkRequest.Builder, SwfRequest.Builder
Enclosing class:
ListOpenWorkflowExecutionsRequest

public static interface ListOpenWorkflowExecutionsRequest.Builder extends SwfRequest.Builder, SdkPojo, CopyableBuilder<ListOpenWorkflowExecutionsRequest.Builder,ListOpenWorkflowExecutionsRequest>
  • Method Details

    • domain

      The name of the domain that contains the workflow executions to list.

      Parameters:
      domain - The name of the domain that contains the workflow executions to list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTimeFilter

      Workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.

      Parameters:
      startTimeFilter - Workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTimeFilter

      Workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.

      This is a convenience method that creates an instance of the ExecutionTimeFilter.Builder avoiding the need to create one manually via ExecutionTimeFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to startTimeFilter(ExecutionTimeFilter).

      Parameters:
      startTimeFilter - a consumer that will call methods on ExecutionTimeFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • typeFilter

      If specified, only executions of the type specified in the filter are returned.

      executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

      Parameters:
      typeFilter - If specified, only executions of the type specified in the filter are returned.

      executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

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

      If specified, only executions of the type specified in the filter are returned.

      executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

      This is a convenience method that creates an instance of the WorkflowTypeFilter.Builder avoiding the need to create one manually via WorkflowTypeFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to typeFilter(WorkflowTypeFilter).

      Parameters:
      typeFilter - a consumer that will call methods on WorkflowTypeFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tagFilter

      If specified, only executions that have the matching tag are listed.

      executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

      Parameters:
      tagFilter - If specified, only executions that have the matching tag are listed.

      executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

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

      If specified, only executions that have the matching tag are listed.

      executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

      This is a convenience method that creates an instance of the TagFilter.Builder avoiding the need to create one manually via TagFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tagFilter(TagFilter).

      Parameters:
      tagFilter - a consumer that will call methods on TagFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextPageToken

      ListOpenWorkflowExecutionsRequest.Builder nextPageToken(String nextPageToken)

      If NextPageToken is returned there are more results available. The value of NextPageToken is 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 a 400 error: " Specified token has exceeded its maximum lifetime".

      The configured maximumPageSize determines how many results can be returned in a single call.

      Parameters:
      nextPageToken - If NextPageToken is returned there are more results available. The value of NextPageToken is 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 a 400 error: " Specified token has exceeded its maximum lifetime".

      The configured maximumPageSize determines how many results can be returned in a single call.

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

      ListOpenWorkflowExecutionsRequest.Builder maximumPageSize(Integer maximumPageSize)

      The maximum number of results that are returned per call. Use nextPageToken to obtain further pages of results.

      Parameters:
      maximumPageSize - The maximum number of results that are returned per call. Use nextPageToken to obtain further pages of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reverseOrder

      When set to true, returns the results in reverse order. By default the results are returned in descending order of the start time of the executions.

      Parameters:
      reverseOrder - When set to true, returns the results in reverse order. By default the results are returned in descending order of the start time of the executions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executionFilter

      If specified, only workflow executions matching the workflow ID specified in the filter are returned.

      executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

      Parameters:
      executionFilter - If specified, only workflow executions matching the workflow ID specified in the filter are returned.

      executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

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

      If specified, only workflow executions matching the workflow ID specified in the filter are returned.

      executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

      This is a convenience method that creates an instance of the WorkflowExecutionFilter.Builder avoiding the need to create one manually via WorkflowExecutionFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to executionFilter(WorkflowExecutionFilter).

      Parameters:
      executionFilter - a consumer that will call methods on WorkflowExecutionFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      ListOpenWorkflowExecutionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.