public class PollForActivityTaskRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
domain
The name of the domain that contains the task lists being polled.
|
private java.lang.String |
identity
Identity of the worker making the request, recorded in the
ActivityTaskStarted event in the workflow history. |
private TaskList |
taskList
Specifies the task list to poll for activity tasks.
|
NOOP
Constructor and Description |
---|
PollForActivityTaskRequest() |
Modifier and Type | Method and Description |
---|---|
PollForActivityTaskRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDomain()
The name of the domain that contains the task lists being polled.
|
java.lang.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(java.lang.String domain)
The name of the domain that contains the task lists being polled.
|
void |
setIdentity(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PollForActivityTaskRequest |
withDomain(java.lang.String domain)
The name of the domain that contains the task lists being polled.
|
PollForActivityTaskRequest |
withIdentity(java.lang.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.
|
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
private java.lang.String domain
The name of the domain that contains the task lists being polled.
private 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.
private java.lang.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.
public void setDomain(java.lang.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 java.lang.String getDomain()
The name of the domain that contains the task lists being polled.
public PollForActivityTaskRequest withDomain(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PollForActivityTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()