public class CountOpenWorkflowExecutionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CountOpenWorkflowExecutions operation.
Returns the number of open workflow executions within the given domain that meet the specified filtering criteria.
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.
tagFilter.tag : String constraint. The key is
swf:tagFilter.tag .typeFilter.name : String constraint. The key is
swf:typeFilter.name .typeFilter.version : 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. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows .
NOOP| Constructor and Description |
|---|
CountOpenWorkflowExecutionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
CountOpenWorkflowExecutionsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDomain()
The name of the domain containing the workflow executions to count.
|
WorkflowExecutionFilter |
getExecutionFilter()
If specified, only workflow executions matching the
WorkflowId in the filter are counted. |
ExecutionTimeFilter |
getStartTimeFilter()
Specifies the start time criteria that workflow executions must meet
in order to be counted.
|
TagFilter |
getTagFilter()
If specified, only executions that have a tag that matches the filter
are counted.
|
WorkflowTypeFilter |
getTypeFilter()
Specifies the type of the workflow executions to be counted.
|
int |
hashCode() |
void |
setDomain(String domain)
The name of the domain containing the workflow executions to count.
|
void |
setExecutionFilter(WorkflowExecutionFilter executionFilter)
If specified, only workflow executions matching the
WorkflowId in the filter are counted. |
void |
setStartTimeFilter(ExecutionTimeFilter startTimeFilter)
Specifies the start time criteria that workflow executions must meet
in order to be counted.
|
void |
setTagFilter(TagFilter tagFilter)
If specified, only executions that have a tag that matches the filter
are counted.
|
void |
setTypeFilter(WorkflowTypeFilter typeFilter)
Specifies the type of the workflow executions to be counted.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CountOpenWorkflowExecutionsRequest |
withDomain(String domain)
The name of the domain containing the workflow executions to count.
|
CountOpenWorkflowExecutionsRequest |
withExecutionFilter(WorkflowExecutionFilter executionFilter)
If specified, only workflow executions matching the
WorkflowId in the filter are counted. |
CountOpenWorkflowExecutionsRequest |
withStartTimeFilter(ExecutionTimeFilter startTimeFilter)
Specifies the start time criteria that workflow executions must meet
in order to be counted.
|
CountOpenWorkflowExecutionsRequest |
withTagFilter(TagFilter tagFilter)
If specified, only executions that have a tag that matches the filter
are counted.
|
CountOpenWorkflowExecutionsRequest |
withTypeFilter(WorkflowTypeFilter typeFilter)
Specifies the type of the workflow executions to be counted.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getDomain()
Constraints:
Length: 1 - 256
public void setDomain(String domain)
Constraints:
Length: 1 - 256
domain - The name of the domain containing the workflow executions to count.public CountOpenWorkflowExecutionsRequest 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 containing the workflow executions to count.public ExecutionTimeFilter getStartTimeFilter()
public void setStartTimeFilter(ExecutionTimeFilter startTimeFilter)
startTimeFilter - Specifies the start time criteria that workflow executions must meet
in order to be counted.public CountOpenWorkflowExecutionsRequest withStartTimeFilter(ExecutionTimeFilter startTimeFilter)
Returns a reference to this object so that method calls can be chained together.
startTimeFilter - Specifies the start time criteria that workflow executions must meet
in order to be counted.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 - Specifies the type of the workflow executions to be counted.
executionFilter, typeFilter and
tagFilter are mutually exclusive. You can specify at most
one of these in a request.public CountOpenWorkflowExecutionsRequest 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 - Specifies the type of the workflow executions to be counted.
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 a tag that matches the filter
are counted. executionFilter,
typeFilter and tagFilter are mutually
exclusive. You can specify at most one of these in a request.public CountOpenWorkflowExecutionsRequest 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 a tag that matches the filter
are counted. executionFilter,
typeFilter and tagFilter are mutually
exclusive. You can specify at most one of these in a request.public WorkflowExecutionFilter getExecutionFilter()
WorkflowId in the filter are counted.
executionFilter, typeFilter and
tagFilter are mutually exclusive. You can specify at most
one of these in a request.WorkflowId in the filter are counted.
executionFilter, typeFilter and
tagFilter are mutually exclusive. You can specify at most
one of these in a request.public void setExecutionFilter(WorkflowExecutionFilter executionFilter)
WorkflowId in the filter are counted.
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
WorkflowId in the filter are counted.
executionFilter, typeFilter and
tagFilter are mutually exclusive. You can specify at most
one of these in a request.public CountOpenWorkflowExecutionsRequest withExecutionFilter(WorkflowExecutionFilter executionFilter)
WorkflowId in the filter are counted.
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
WorkflowId in the filter are counted.
executionFilter, typeFilter and
tagFilter are mutually exclusive. You can specify at most
one of these in a request.public String toString()
toString in class ObjectObject.toString()public CountOpenWorkflowExecutionsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.