@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetActivityTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetActivityTaskRequest() |
Modifier and Type | Method and Description |
---|---|
GetActivityTaskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getActivityArn()
The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using
CreateActivity.)
|
String |
getWorkerName()
You can provide an arbitrary name in order to identify the worker that the task is assigned to.
|
int |
hashCode() |
void |
setActivityArn(String activityArn)
The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using
CreateActivity.)
|
void |
setWorkerName(String workerName)
You can provide an arbitrary name in order to identify the worker that the task is assigned to.
|
String |
toString()
Returns a string representation of this object.
|
GetActivityTaskRequest |
withActivityArn(String activityArn)
The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using
CreateActivity.)
|
GetActivityTaskRequest |
withWorkerName(String workerName)
You can provide an arbitrary name in order to identify the worker that the task is assigned to.
|
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 setActivityArn(String activityArn)
The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using CreateActivity.)
activityArn
- The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task
using CreateActivity.)public String getActivityArn()
The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using CreateActivity.)
public GetActivityTaskRequest withActivityArn(String activityArn)
The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using CreateActivity.)
activityArn
- The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task
using CreateActivity.)public void setWorkerName(String workerName)
You can provide an arbitrary name in order to identify the worker that the task is assigned to. This name is used when it is logged in the execution history.
workerName
- You can provide an arbitrary name in order to identify the worker that the task is assigned to. This name
is used when it is logged in the execution history.public String getWorkerName()
You can provide an arbitrary name in order to identify the worker that the task is assigned to. This name is used when it is logged in the execution history.
public GetActivityTaskRequest withWorkerName(String workerName)
You can provide an arbitrary name in order to identify the worker that the task is assigned to. This name is used when it is logged in the execution history.
workerName
- You can provide an arbitrary name in order to identify the worker that the task is assigned to. This name
is used when it is logged in the execution history.public String toString()
toString
in class Object
Object.toString()
public GetActivityTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()