@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.
|
String |
getWorkerName()
An arbitrary name may be provided 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.
|
void |
setWorkerName(String workerName)
An arbitrary name may be provided in order to identify the worker that the task is assigned to.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetActivityTaskRequest |
withActivityArn(String activityArn)
The Amazon Resource Name (ARN) of the activity to retrieve tasks from.
|
GetActivityTaskRequest |
withWorkerName(String workerName)
An arbitrary name may be provided 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, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setActivityArn(String activityArn)
The Amazon Resource Name (ARN) of the activity to retrieve tasks from.
activityArn
- The Amazon Resource Name (ARN) of the activity to retrieve tasks from.public String getActivityArn()
The Amazon Resource Name (ARN) of the activity to retrieve tasks from.
public GetActivityTaskRequest withActivityArn(String activityArn)
The Amazon Resource Name (ARN) of the activity to retrieve tasks from.
activityArn
- The Amazon Resource Name (ARN) of the activity to retrieve tasks from.public void setWorkerName(String workerName)
An arbitrary name may be provided in order to identify the worker that the task is assigned to. This name will be used when it is logged in the execution history.
workerName
- An arbitrary name may be provided in order to identify the worker that the task is assigned to. This name
will be used when it is logged in the execution history.public String getWorkerName()
An arbitrary name may be provided in order to identify the worker that the task is assigned to. This name will be used when it is logged in the execution history.
public GetActivityTaskRequest withWorkerName(String workerName)
An arbitrary name may be provided in order to identify the worker that the task is assigned to. This name will be used when it is logged in the execution history.
workerName
- An arbitrary name may be provided in order to identify the worker that the task is assigned to. This name
will be 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.