public class PollForActivityTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PollForActivityTaskRequest() |
Modifier and Type | Method and 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 the
ActivityTaskStarted 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 the
ActivityTaskStarted 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 the
ActivityTaskStarted event in the workflow history. |
PollForActivityTaskRequest |
withTaskList(TaskList taskList)
Specifies the task list to poll for activity tasks.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDomain(String domain)
The name of the domain that contains the task lists being polled.
domain
- The name of the domain that contains the task lists being polled.public String getDomain()
The name of the domain that contains the task lists being polled.
public PollForActivityTaskRequest withDomain(String domain)
The name of the domain that contains the task lists being polled.
domain
- The name of the domain that contains the task lists being polled.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.
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.
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.
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.
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.
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.
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.
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.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.
ActivityTaskStarted
event in the workflow history.
This enables diagnostic tracing when problems arise. The form of
this identity is user defined.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.
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.public String toString()
toString
in class Object
Object.toString()
public PollForActivityTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.