Class PollForActivityTaskRequest
- 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.boolean
The name of the domain that contains the task lists being polled.Identity of the worker making the request, recorded in theActivityTaskStarted
event in the workflow history.Specifies the task list to poll for activity tasks.int
hashCode()
void
The name of the domain that contains the task lists being polled.void
setIdentity
(String identity) Identity of the worker making the request, recorded in theActivityTaskStarted
event in the workflow history.void
setTaskList
(TaskList taskList) Specifies the task list to poll for activity tasks.toString()
Returns a string representation of this object; useful for testing and debugging.withDomain
(String domain) The name of the domain that contains the task lists being polled.withIdentity
(String identity) Identity of the worker making the request, recorded in theActivityTaskStarted
event in the workflow history.withTaskList
(TaskList taskList) Specifies the task list to poll for activity 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
-
PollForActivityTaskRequest
public PollForActivityTaskRequest()
-
-
Method Details
-
setDomain
The name of the domain that contains the task lists being polled.
- Parameters:
domain
- The name of the domain that contains the task lists being polled.
-
getDomain
The name of the domain that contains the task lists being polled.
- Returns:
- The name of the domain that contains the task lists being polled.
-
withDomain
The name of the domain that contains the task lists being polled.
- Parameters:
domain
- The name of the domain that contains the task lists being polled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTaskList
Specifies the task list to poll for activity 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 activity 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 activity 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 activity 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 activity 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 activity 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 worker making the request, recorded in the
ActivityTaskStarted
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 worker making the request, recorded in theActivityTaskStarted
event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
-
getIdentity
Identity of the worker making the request, recorded in the
ActivityTaskStarted
event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.- Returns:
- Identity of the worker making the request, recorded in the
ActivityTaskStarted
event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
-
withIdentity
Identity of the worker making the request, recorded in the
ActivityTaskStarted
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 worker making the request, recorded in theActivityTaskStarted
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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-