public class ListOpenWorkflowExecutionsRequest extends AmazonWebServiceRequest implements Serializable
ListOpenWorkflowExecutions operation
.
Returns a list of open workflow executions in the specified domain that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.
NOTE: This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.
Access Control
You can use IAM policies to control this action's access to Amazon SWF resources as follows:
Resource
element with the domain name to limit the action to only specified domains.Action
element to allow or deny permission to call this action.Condition
element with the appropriate keys.
tag
: String constraint. The key is swf:tagFilter.tag
.typeFilter.name
: String constraint. String constraint. The key is swf:typeFilter.name
.typeFilter.version
: String constraint. String constraint. The key is swf:typeFilter.version
.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action
fails by throwing OperationNotPermitted
. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows .
Constructor and Description |
---|
ListOpenWorkflowExecutionsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDomain()
The name of the domain that contains the workflow executions to list.
|
WorkflowExecutionFilter |
getExecutionFilter()
If specified, only workflow executions matching the workflow id
specified in the filter are returned.
|
Integer |
getMaximumPageSize()
The maximum number of results returned in each page.
|
String |
getNextPageToken()
If on a previous call to this method a
NextPageToken was
returned, the results are being paginated. |
Boolean |
getReverseOrder()
When set to
true , returns the results in reverse order. |
ExecutionTimeFilter |
getStartTimeFilter()
Workflow executions are included in the returned results based on
whether their start times are within the range specified by this
filter.
|
TagFilter |
getTagFilter()
If specified, only executions that have the matching tag are listed.
|
WorkflowTypeFilter |
getTypeFilter()
If specified, only executions of the type specified in the filter are
returned.
|
int |
hashCode() |
Boolean |
isReverseOrder()
When set to
true , returns the results in reverse order. |
void |
setDomain(String domain)
The name of the domain that contains the workflow executions to list.
|
void |
setExecutionFilter(WorkflowExecutionFilter executionFilter)
If specified, only workflow executions matching the workflow id
specified in the filter are returned.
|
void |
setMaximumPageSize(Integer maximumPageSize)
The maximum number of results returned in each page.
|
void |
setNextPageToken(String nextPageToken)
If on a previous call to this method a
NextPageToken was
returned, the results are being paginated. |
void |
setReverseOrder(Boolean reverseOrder)
When set to
true , returns the results in reverse order. |
void |
setStartTimeFilter(ExecutionTimeFilter startTimeFilter)
Workflow executions are included in the returned results based on
whether their start times are within the range specified by this
filter.
|
void |
setTagFilter(TagFilter tagFilter)
If specified, only executions that have the matching tag are listed.
|
void |
setTypeFilter(WorkflowTypeFilter typeFilter)
If specified, only executions of the type specified in the filter are
returned.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListOpenWorkflowExecutionsRequest |
withDomain(String domain)
The name of the domain that contains the workflow executions to list.
|
ListOpenWorkflowExecutionsRequest |
withExecutionFilter(WorkflowExecutionFilter executionFilter)
If specified, only workflow executions matching the workflow id
specified in the filter are returned.
|
ListOpenWorkflowExecutionsRequest |
withMaximumPageSize(Integer maximumPageSize)
The maximum number of results returned in each page.
|
ListOpenWorkflowExecutionsRequest |
withNextPageToken(String nextPageToken)
If on a previous call to this method a
NextPageToken was
returned, the results are being paginated. |
ListOpenWorkflowExecutionsRequest |
withReverseOrder(Boolean reverseOrder)
When set to
true , returns the results in reverse order. |
ListOpenWorkflowExecutionsRequest |
withStartTimeFilter(ExecutionTimeFilter startTimeFilter)
Workflow executions are included in the returned results based on
whether their start times are within the range specified by this
filter.
|
ListOpenWorkflowExecutionsRequest |
withTagFilter(TagFilter tagFilter)
If specified, only executions that have the matching tag are listed.
|
ListOpenWorkflowExecutionsRequest |
withTypeFilter(WorkflowTypeFilter typeFilter)
If specified, only executions of the type specified in the filter are
returned.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getDomain()
Constraints:
Length: 1 - 256
public void setDomain(String domain)
Constraints:
Length: 1 - 256
domain
- The name of the domain that contains the workflow executions to list.public ListOpenWorkflowExecutionsRequest withDomain(String domain)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
domain
- The name of the domain that contains the workflow executions to list.public ExecutionTimeFilter getStartTimeFilter()
public void setStartTimeFilter(ExecutionTimeFilter startTimeFilter)
startTimeFilter
- Workflow executions are included in the returned results based on
whether their start times are within the range specified by this
filter.public ListOpenWorkflowExecutionsRequest withStartTimeFilter(ExecutionTimeFilter startTimeFilter)
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.public WorkflowTypeFilter getTypeFilter()
executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at
most one of these in a request.executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at
most one of these in a request.public void setTypeFilter(WorkflowTypeFilter typeFilter)
executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at
most one of these in a request.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.public ListOpenWorkflowExecutionsRequest withTypeFilter(WorkflowTypeFilter typeFilter)
executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at
most one of these in a request.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.public TagFilter getTagFilter()
executionFilter
, typeFilter
and
tagFilter
are mutually exclusive. You can specify at most
one of these in a request.executionFilter
, typeFilter
and
tagFilter
are mutually exclusive. You can specify at most
one of these in a request.public void setTagFilter(TagFilter tagFilter)
executionFilter
, typeFilter
and
tagFilter
are mutually exclusive. You can specify at most
one of these in a request.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.public ListOpenWorkflowExecutionsRequest withTagFilter(TagFilter tagFilter)
executionFilter
, typeFilter
and
tagFilter
are mutually exclusive. You can specify at most
one of these in a request.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.public String getNextPageToken()
NextPageToken
was
returned, the results are being paginated. To get the next page of
results, repeat the call with the returned token and all other
arguments unchanged.
Constraints:
Length: 0 - 2048
NextPageToken
was
returned, the results are being paginated. To get the next page of
results, repeat the call with the returned token and all other
arguments unchanged.public void setNextPageToken(String nextPageToken)
NextPageToken
was
returned, the results are being paginated. To get the next page of
results, repeat the call with the returned token and all other
arguments unchanged.
Constraints:
Length: 0 - 2048
nextPageToken
- If on a previous call to this method a NextPageToken
was
returned, the results are being paginated. To get the next page of
results, repeat the call with the returned token and all other
arguments unchanged.public ListOpenWorkflowExecutionsRequest withNextPageToken(String nextPageToken)
NextPageToken
was
returned, the results are being paginated. To get the next page of
results, repeat the call with the returned token and all other
arguments unchanged.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 2048
nextPageToken
- If on a previous call to this method a NextPageToken
was
returned, the results are being paginated. To get the next page of
results, repeat the call with the returned token and all other
arguments unchanged.public Integer getMaximumPageSize()
Constraints:
Range: 0 - 1000
public void setMaximumPageSize(Integer maximumPageSize)
Constraints:
Range: 0 - 1000
maximumPageSize
- The maximum number of results returned in each page. The default is
100, but the caller can override this value to a page size
smaller than the default. You cannot specify a page size
greater than 100. Note that the number of executions may be less than
the maxiumum page size, in which case, the returned page will have
fewer results than the maximumPageSize specified.public ListOpenWorkflowExecutionsRequest withMaximumPageSize(Integer maximumPageSize)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 1000
maximumPageSize
- The maximum number of results returned in each page. The default is
100, but the caller can override this value to a page size
smaller than the default. You cannot specify a page size
greater than 100. Note that the number of executions may be less than
the maxiumum page size, in which case, the returned page will have
fewer results than the maximumPageSize specified.public Boolean isReverseOrder()
true
, returns the results in reverse order.
By default the results are returned in descending order of the start
time of the executions.true
, returns the results in reverse order.
By default the results are returned in descending order of the start
time of the executions.public void setReverseOrder(Boolean reverseOrder)
true
, returns the results in reverse order.
By default the results are returned in descending order of the start
time of the executions.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.public ListOpenWorkflowExecutionsRequest withReverseOrder(Boolean reverseOrder)
true
, returns the results in reverse order.
By default the results are returned in descending order of the start
time of the executions.
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.public Boolean getReverseOrder()
true
, returns the results in reverse order.
By default the results are returned in descending order of the start
time of the executions.true
, returns the results in reverse order.
By default the results are returned in descending order of the start
time of the executions.public WorkflowExecutionFilter getExecutionFilter()
executionFilter
, typeFilter
and
tagFilter
are mutually exclusive. You can specify at most
one of these in a request.executionFilter
, typeFilter
and
tagFilter
are mutually exclusive. You can specify at most
one of these in a request.public void setExecutionFilter(WorkflowExecutionFilter executionFilter)
executionFilter
, typeFilter
and
tagFilter
are mutually exclusive. You can specify at most
one of these in a request.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.public ListOpenWorkflowExecutionsRequest withExecutionFilter(WorkflowExecutionFilter executionFilter)
executionFilter
, typeFilter
and
tagFilter
are mutually exclusive. You can specify at most
one of these in a request.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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.