@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, 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 (