|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.simpleworkflow.model.CountOpenWorkflowExecutionsRequest
public class CountOpenWorkflowExecutionsRequest
Container for the parameters to the 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.
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 .
AmazonSimpleWorkflow.countOpenWorkflowExecutions(CountOpenWorkflowExecutionsRequest)
,
Serialized FormConstructor Summary | |
---|---|
CountOpenWorkflowExecutionsRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CountOpenWorkflowExecutionsRequest()
Method Detail |
---|
public 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 Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |