Class PollForActivityTaskRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simpleworkflow.model.PollForActivityTaskRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class PollForActivityTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description PollForActivityTaskRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PollForActivityTaskRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDomain()
The name of the domain that contains the task lists being polled.String
getIdentity()
Identity of the worker making the request, recorded in theActivityTaskStarted
event in the workflow history.TaskList
getTaskList()
Specifies the task list to poll for activity tasks.int
hashCode()
void
setDomain(String domain)
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.PollForActivityTaskRequest
withDomain(String domain)
The name of the domain that contains the task lists being polled.PollForActivityTaskRequest
withIdentity(String identity)
Identity of the worker making the request, recorded in theActivityTaskStarted
event in the workflow history.PollForActivityTaskRequest
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
-
-
-
-
Method Detail
-
setDomain
public void setDomain(String domain)
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
public String 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
public PollForActivityTaskRequest withDomain(String domain)
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
public void setTaskList(TaskList 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.- 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
public TaskList 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
public PollForActivityTaskRequest withTaskList(TaskList 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.- 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
public void setIdentity(String identity)
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
public String 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
public PollForActivityTaskRequest withIdentity(String identity)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PollForActivityTaskRequest 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:
Object.clone()
-
-