Consumer<CountOpenWorkflowExecutionsRequest.Builder> countOpenWorkflowExecutionsRequest) { return countOpenWorkflowExecutions(CountOpenWorkflowExecutionsRequest.builder() .applyMutation(countOpenWorkflowExecutionsRequest).build());
/** * <p> * If specified, only workflow executions matching the <code>WorkflowId</code> in the filter are counted. * </p> * <note> * <p> * <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are mutually exclusive. You * can specify at most one of these in a request. * </p> * </note> This is a convenience that creates an instance of the {@link WorkflowExecutionFilter.Builder} * avoiding the need to create one manually via {@link WorkflowExecutionFilter#builder()}. * * When the {@link Consumer} completes, {@link WorkflowExecutionFilter.Builder#build()} is called immediately * and its result is passed to {@link #executionFilter(WorkflowExecutionFilter)}. * * @param executionFilter * a consumer that will call methods on {@link WorkflowExecutionFilter.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #executionFilter(WorkflowExecutionFilter) */ default Builder executionFilter(Consumer<WorkflowExecutionFilter.Builder> executionFilter) { return executionFilter(WorkflowExecutionFilter.builder().applyMutation(executionFilter).build()); }
/** * <p> * Specifies the start time criteria that workflow executions must meet in order to be counted. * </p> * This is a convenience that creates an instance of the {@link ExecutionTimeFilter.Builder} avoiding the need * to create one manually via {@link ExecutionTimeFilter#builder()}. * * When the {@link Consumer} completes, {@link ExecutionTimeFilter.Builder#build()} is called immediately and * its result is passed to {@link #startTimeFilter(ExecutionTimeFilter)}. * * @param startTimeFilter * a consumer that will call methods on {@link ExecutionTimeFilter.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #startTimeFilter(ExecutionTimeFilter) */ default Builder startTimeFilter(Consumer<ExecutionTimeFilter.Builder> startTimeFilter) { return startTimeFilter(ExecutionTimeFilter.builder().applyMutation(startTimeFilter).build()); }
SwfException { return countOpenWorkflowExecutions(CountOpenWorkflowExecutionsRequest.builder() .applyMutation(countOpenWorkflowExecutionsRequest).build());
Consumer<CountOpenWorkflowExecutionsRequest.Builder> countOpenWorkflowExecutionsRequest) { return countOpenWorkflowExecutions(CountOpenWorkflowExecutionsRequest.builder() .applyMutation(countOpenWorkflowExecutionsRequest).build());
SwfException { return countOpenWorkflowExecutions(CountOpenWorkflowExecutionsRequest.builder() .applyMutation(countOpenWorkflowExecutionsRequest).build());
Consumer<CountOpenWorkflowExecutionsRequest.Builder> countOpenWorkflowExecutionsRequest) { return countOpenWorkflowExecutions(CountOpenWorkflowExecutionsRequest.builder() .applyMutation(countOpenWorkflowExecutionsRequest).build());
SwfException { return countOpenWorkflowExecutions(CountOpenWorkflowExecutionsRequest.builder() .applyMutation(countOpenWorkflowExecutionsRequest).build());
/** * <p> * If specified, only executions that have a tag that matches the filter are counted. * </p> * <note> * <p> * <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are mutually exclusive. You * can specify at most one of these in a request. * </p> * </note> This is a convenience that creates an instance of the {@link TagFilter.Builder} avoiding the need to * create one manually via {@link TagFilter#builder()}. * * When the {@link Consumer} completes, {@link TagFilter.Builder#build()} is called immediately and its result * is passed to {@link #tagFilter(TagFilter)}. * * @param tagFilter * a consumer that will call methods on {@link TagFilter.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #tagFilter(TagFilter) */ default Builder tagFilter(Consumer<TagFilter.Builder> tagFilter) { return tagFilter(TagFilter.builder().applyMutation(tagFilter).build()); }
/** * <p> * Specifies the type of the workflow executions to be counted. * </p> * <note> * <p> * <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are mutually exclusive. You * can specify at most one of these in a request. * </p> * </note> This is a convenience that creates an instance of the {@link WorkflowTypeFilter.Builder} avoiding the * need to create one manually via {@link WorkflowTypeFilter#builder()}. * * When the {@link Consumer} completes, {@link WorkflowTypeFilter.Builder#build()} is called immediately and its * result is passed to {@link #typeFilter(WorkflowTypeFilter)}. * * @param typeFilter * a consumer that will call methods on {@link WorkflowTypeFilter.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #typeFilter(WorkflowTypeFilter) */ default Builder typeFilter(Consumer<WorkflowTypeFilter.Builder> typeFilter) { return typeFilter(WorkflowTypeFilter.builder().applyMutation(typeFilter).build()); }
/** * <p> * If specified, only executions that have a tag that matches the filter are counted. * </p> * <note> * <p> * <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are mutually exclusive. You * can specify at most one of these in a request. * </p> * </note> This is a convenience that creates an instance of the {@link TagFilter.Builder} avoiding the need to * create one manually via {@link TagFilter#builder()}. * * When the {@link Consumer} completes, {@link TagFilter.Builder#build()} is called immediately and its result * is passed to {@link #tagFilter(TagFilter)}. * * @param tagFilter * a consumer that will call methods on {@link TagFilter.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #tagFilter(TagFilter) */ default Builder tagFilter(Consumer<TagFilter.Builder> tagFilter) { return tagFilter(TagFilter.builder().applyMutation(tagFilter).build()); }
/** * <p> * If specified, only workflow executions matching the <code>WorkflowId</code> in the filter are counted. * </p> * <note> * <p> * <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are mutually exclusive. You * can specify at most one of these in a request. * </p> * </note> This is a convenience that creates an instance of the {@link WorkflowExecutionFilter.Builder} * avoiding the need to create one manually via {@link WorkflowExecutionFilter#builder()}. * * When the {@link Consumer} completes, {@link WorkflowExecutionFilter.Builder#build()} is called immediately * and its result is passed to {@link #executionFilter(WorkflowExecutionFilter)}. * * @param executionFilter * a consumer that will call methods on {@link WorkflowExecutionFilter.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #executionFilter(WorkflowExecutionFilter) */ default Builder executionFilter(Consumer<WorkflowExecutionFilter.Builder> executionFilter) { return executionFilter(WorkflowExecutionFilter.builder().applyMutation(executionFilter).build()); }
/** * <p> * Specifies the type of the workflow executions to be counted. * </p> * <note> * <p> * <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are mutually exclusive. You * can specify at most one of these in a request. * </p> * </note> This is a convenience that creates an instance of the {@link WorkflowTypeFilter.Builder} avoiding the * need to create one manually via {@link WorkflowTypeFilter#builder()}. * * When the {@link Consumer} completes, {@link WorkflowTypeFilter.Builder#build()} is called immediately and its * result is passed to {@link #typeFilter(WorkflowTypeFilter)}. * * @param typeFilter * a consumer that will call methods on {@link WorkflowTypeFilter.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #typeFilter(WorkflowTypeFilter) */ default Builder typeFilter(Consumer<WorkflowTypeFilter.Builder> typeFilter) { return typeFilter(WorkflowTypeFilter.builder().applyMutation(typeFilter).build()); }
/** * <p> * If specified, only workflow executions matching the <code>WorkflowId</code> in the filter are counted. * </p> * <note> * <p> * <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are mutually exclusive. You * can specify at most one of these in a request. * </p> * </note> This is a convenience that creates an instance of the {@link WorkflowExecutionFilter.Builder} * avoiding the need to create one manually via {@link WorkflowExecutionFilter#builder()}. * * When the {@link Consumer} completes, {@link WorkflowExecutionFilter.Builder#build()} is called immediately * and its result is passed to {@link #executionFilter(WorkflowExecutionFilter)}. * * @param executionFilter * a consumer that will call methods on {@link WorkflowExecutionFilter.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #executionFilter(WorkflowExecutionFilter) */ default Builder executionFilter(Consumer<WorkflowExecutionFilter.Builder> executionFilter) { return executionFilter(WorkflowExecutionFilter.builder().applyMutation(executionFilter).build()); }
/** * <p> * Specifies the type of the workflow executions to be counted. * </p> * <note> * <p> * <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are mutually exclusive. You * can specify at most one of these in a request. * </p> * </note> This is a convenience that creates an instance of the {@link WorkflowTypeFilter.Builder} avoiding the * need to create one manually via {@link WorkflowTypeFilter#builder()}. * * When the {@link Consumer} completes, {@link WorkflowTypeFilter.Builder#build()} is called immediately and its * result is passed to {@link #typeFilter(WorkflowTypeFilter)}. * * @param typeFilter * a consumer that will call methods on {@link WorkflowTypeFilter.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #typeFilter(WorkflowTypeFilter) */ default Builder typeFilter(Consumer<WorkflowTypeFilter.Builder> typeFilter) { return typeFilter(WorkflowTypeFilter.builder().applyMutation(typeFilter).build()); }
/** * <p> * If specified, only executions that have a tag that matches the filter are counted. * </p> * <note> * <p> * <code>executionFilter</code>, <code>typeFilter</code> and <code>tagFilter</code> are mutually exclusive. You * can specify at most one of these in a request. * </p> * </note> This is a convenience that creates an instance of the {@link TagFilter.Builder} avoiding the need to * create one manually via {@link TagFilter#builder()}. * * When the {@link Consumer} completes, {@link TagFilter.Builder#build()} is called immediately and its result * is passed to {@link #tagFilter(TagFilter)}. * * @param tagFilter * a consumer that will call methods on {@link TagFilter.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #tagFilter(TagFilter) */ default Builder tagFilter(Consumer<TagFilter.Builder> tagFilter) { return tagFilter(TagFilter.builder().applyMutation(tagFilter).build()); }
/** * <p> * Specifies the start time criteria that workflow executions must meet in order to be counted. * </p> * This is a convenience that creates an instance of the {@link ExecutionTimeFilter.Builder} avoiding the need * to create one manually via {@link ExecutionTimeFilter#builder()}. * * When the {@link Consumer} completes, {@link ExecutionTimeFilter.Builder#build()} is called immediately and * its result is passed to {@link #startTimeFilter(ExecutionTimeFilter)}. * * @param startTimeFilter * a consumer that will call methods on {@link ExecutionTimeFilter.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #startTimeFilter(ExecutionTimeFilter) */ default Builder startTimeFilter(Consumer<ExecutionTimeFilter.Builder> startTimeFilter) { return startTimeFilter(ExecutionTimeFilter.builder().applyMutation(startTimeFilter).build()); }
/** * <p> * Specifies the start time criteria that workflow executions must meet in order to be counted. * </p> * This is a convenience that creates an instance of the {@link ExecutionTimeFilter.Builder} avoiding the need * to create one manually via {@link ExecutionTimeFilter#builder()}. * * When the {@link Consumer} completes, {@link ExecutionTimeFilter.Builder#build()} is called immediately and * its result is passed to {@link #startTimeFilter(ExecutionTimeFilter)}. * * @param startTimeFilter * a consumer that will call methods on {@link ExecutionTimeFilter.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #startTimeFilter(ExecutionTimeFilter) */ default Builder startTimeFilter(Consumer<ExecutionTimeFilter.Builder> startTimeFilter) { return startTimeFilter(ExecutionTimeFilter.builder().applyMutation(startTimeFilter).build()); }