Class PollForDecisionTaskRequest
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe name of the domain containing the task lists to poll.Identity of the decider making the request, which is recorded in the DecisionTaskStarted event in the workflow history.The maximum number of results that will be returned per call.If aNextPageTokenwas returned by a previous call, there are more results available.When set totrue, returns the events in reverse order.Specifies the task list to poll for decision tasks.inthashCode()When set totrue, returns the events in reverse order.voidThe name of the domain containing the task lists to poll.voidsetIdentity(String identity) Identity of the decider making the request, which is recorded in the DecisionTaskStarted event in the workflow history.voidsetMaximumPageSize(Integer maximumPageSize) The maximum number of results that will be returned per call.voidsetNextPageToken(String nextPageToken) If aNextPageTokenwas returned by a previous call, there are more results available.voidsetReverseOrder(Boolean reverseOrder) When set totrue, returns the events in reverse order.voidsetTaskList(TaskList taskList) Specifies the task list to poll for decision tasks.toString()Returns a string representation of this object; useful for testing and debugging.withDomain(String domain) The name of the domain containing the task lists to poll.withIdentity(String identity) Identity of the decider making the request, which is recorded in the DecisionTaskStarted event in the workflow history.withMaximumPageSize(Integer maximumPageSize) The maximum number of results that will be returned per call.withNextPageToken(String nextPageToken) If aNextPageTokenwas returned by a previous call, there are more results available.withReverseOrder(Boolean reverseOrder) When set totrue, returns the events in reverse order.withTaskList(TaskList taskList) Specifies the task list to poll for decision tasks.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
PollForDecisionTaskRequest
public PollForDecisionTaskRequest()
-
-
Method Details
-
setDomain
The name of the domain containing the task lists to poll.
- Parameters:
domain- The name of the domain containing the task lists to poll.
-
getDomain
The name of the domain containing the task lists to poll.
- Returns:
- The name of the domain containing the task lists to poll.
-
withDomain
The name of the domain containing the task lists to poll.
- Parameters:
domain- The name of the domain containing the task lists to poll.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTaskList
Specifies the task list to poll for decision tasks.
The specified string must not start or end with whitespace. It must not contain a
:(colon),/(slash),|(vertical bar), or any control characters ( - | - ). Also, it must not contain the literal string quotarnquot.- Parameters:
taskList- Specifies the task list to poll for decision tasks.The specified string must not start or end with whitespace. It must not contain a
:(colon),/(slash),|(vertical bar), or any control characters ( - | - ). Also, it must not contain the literal string quotarnquot.
-
getTaskList
Specifies the task list to poll for decision tasks.
The specified string must not start or end with whitespace. It must not contain a
:(colon),/(slash),|(vertical bar), or any control characters ( - | - ). Also, it must not contain the literal string quotarnquot.- Returns:
- Specifies the task list to poll for decision tasks.
The specified string must not start or end with whitespace. It must not contain a
:(colon),/(slash),|(vertical bar), or any control characters ( - | - ). Also, it must not contain the literal string quotarnquot.
-
withTaskList
Specifies the task list to poll for decision tasks.
The specified string must not start or end with whitespace. It must not contain a
:(colon),/(slash),|(vertical bar), or any control characters ( - | - ). Also, it must not contain the literal string quotarnquot.- Parameters:
taskList- Specifies the task list to poll for decision tasks.The specified string must not start or end with whitespace. It must not contain a
:(colon),/(slash),|(vertical bar), or any control characters ( - | - ). Also, it must not contain the literal string quotarnquot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIdentity
Identity of the decider making the request, which is recorded in the DecisionTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
- Parameters:
identity- Identity of the decider making the request, which is recorded in the DecisionTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
-
getIdentity
Identity of the decider making the request, which is recorded in the DecisionTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
- Returns:
- Identity of the decider making the request, which is recorded in the DecisionTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
-
withIdentity
Identity of the decider making the request, which is recorded in the DecisionTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
- Parameters:
identity- Identity of the decider making the request, which is recorded in the DecisionTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextPageToken
If a
NextPageTokenwas returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.The .nextPageTokenreturned by this action cannot be used with GetWorkflowExecutionHistory to get the next page. You must call PollForDecisionTask again (with thenextPageToken) to retrieve the next page of history records. Calling PollForDecisionTask with anextPageTokenwill not return a new decision task.- Parameters:
nextPageToken- If aNextPageTokenwas returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.The nextPageTokenreturned by this action cannot be used with GetWorkflowExecutionHistory to get the next page. You must call PollForDecisionTask again (with thenextPageToken) to retrieve the next page of history records. Calling PollForDecisionTask with anextPageTokenwill not return a new decision task.
-
getNextPageToken
If a
NextPageTokenwas returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.The .nextPageTokenreturned by this action cannot be used with GetWorkflowExecutionHistory to get the next page. You must call PollForDecisionTask again (with thenextPageToken) to retrieve the next page of history records. Calling PollForDecisionTask with anextPageTokenwill not return a new decision task.- Returns:
- If a
NextPageTokenwas returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.The nextPageTokenreturned by this action cannot be used with GetWorkflowExecutionHistory to get the next page. You must call PollForDecisionTask again (with thenextPageToken) to retrieve the next page of history records. Calling PollForDecisionTask with anextPageTokenwill not return a new decision task.
-
withNextPageToken
If a
NextPageTokenwas returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.The .nextPageTokenreturned by this action cannot be used with GetWorkflowExecutionHistory to get the next page. You must call PollForDecisionTask again (with thenextPageToken) to retrieve the next page of history records. Calling PollForDecisionTask with anextPageTokenwill not return a new decision task.- Parameters:
nextPageToken- If aNextPageTokenwas returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken. Keep all other arguments unchanged.The configured
maximumPageSizedetermines how many results can be returned in a single call.The nextPageTokenreturned by this action cannot be used with GetWorkflowExecutionHistory to get the next page. You must call PollForDecisionTask again (with thenextPageToken) to retrieve the next page of history records. Calling PollForDecisionTask with anextPageTokenwill not return a new decision task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaximumPageSize
The maximum number of results that will be returned per call.
nextPageTokencan be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
- Parameters:
maximumPageSize- The maximum number of results that will be returned per call.nextPageTokencan be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
-
getMaximumPageSize
The maximum number of results that will be returned per call.
nextPageTokencan be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
- Returns:
- The maximum number of results that will be returned per call.
nextPageTokencan be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
-
withMaximumPageSize
The maximum number of results that will be returned per call.
nextPageTokencan be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
- Parameters:
maximumPageSize- The maximum number of results that will be returned per call.nextPageTokencan be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReverseOrder
When set to
true, returns the events in reverse order. By default the results are returned in ascending order of theeventTimestampof the events.- Parameters:
reverseOrder- When set totrue, returns the events in reverse order. By default the results are returned in ascending order of theeventTimestampof the events.
-
getReverseOrder
When set to
true, returns the events in reverse order. By default the results are returned in ascending order of theeventTimestampof the events.- Returns:
- When set to
true, returns the events in reverse order. By default the results are returned in ascending order of theeventTimestampof the events.
-
withReverseOrder
When set to
true, returns the events in reverse order. By default the results are returned in ascending order of theeventTimestampof the events.- Parameters:
reverseOrder- When set totrue, returns the events in reverse order. By default the results are returned in ascending order of theeventTimestampof the events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isReverseOrder
When set to
true, returns the events in reverse order. By default the results are returned in ascending order of theeventTimestampof the events.- Returns:
- When set to
true, returns the events in reverse order. By default the results are returned in ascending order of theeventTimestampof the events.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-