public class PollForTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for PollForTask.
NOOP| Constructor and Description | 
|---|
| PollForTaskRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| PollForTaskRequest | clone()Creates a shallow clone of this request. | 
| boolean | equals(Object obj) | 
| String | getHostname()
 The public DNS name of the calling task runner. | 
| InstanceIdentity | getInstanceIdentity()
 Identity information for the EC2 instance that is hosting the task
 runner. | 
| String | getWorkerGroup()
 The type of task the task runner is configured to accept and process. | 
| int | hashCode() | 
| void | setHostname(String hostname)
 The public DNS name of the calling task runner. | 
| void | setInstanceIdentity(InstanceIdentity instanceIdentity)
 Identity information for the EC2 instance that is hosting the task
 runner. | 
| void | setWorkerGroup(String workerGroup)
 The type of task the task runner is configured to accept and process. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| PollForTaskRequest | withHostname(String hostname)
 The public DNS name of the calling task runner. | 
| PollForTaskRequest | withInstanceIdentity(InstanceIdentity instanceIdentity)
 Identity information for the EC2 instance that is hosting the task
 runner. | 
| PollForTaskRequest | withWorkerGroup(String workerGroup)
 The type of task the task runner is configured to accept and process. | 
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setWorkerGroup(String workerGroup)
 The type of task the task runner is configured to accept and process. The
 worker group is set as a field on objects in the pipeline when they are
 created. You can only specify a single value for workerGroup
 in the call to PollForTask. There are no wildcard values
 permitted in workerGroup; the string must be an exact,
 case-sensitive, match.
 
workerGroup - The type of task the task runner is configured to accept and
        process. The worker group is set as a field on objects in the
        pipeline when they are created. You can only specify a single
        value for workerGroup in the call to
        PollForTask. There are no wildcard values permitted
        in workerGroup; the string must be an exact,
        case-sensitive, match.public String getWorkerGroup()
 The type of task the task runner is configured to accept and process. The
 worker group is set as a field on objects in the pipeline when they are
 created. You can only specify a single value for workerGroup
 in the call to PollForTask. There are no wildcard values
 permitted in workerGroup; the string must be an exact,
 case-sensitive, match.
 
workerGroup in the call to
         PollForTask. There are no wildcard values permitted
         in workerGroup; the string must be an exact,
         case-sensitive, match.public PollForTaskRequest withWorkerGroup(String workerGroup)
 The type of task the task runner is configured to accept and process. The
 worker group is set as a field on objects in the pipeline when they are
 created. You can only specify a single value for workerGroup
 in the call to PollForTask. There are no wildcard values
 permitted in workerGroup; the string must be an exact,
 case-sensitive, match.
 
workerGroup - The type of task the task runner is configured to accept and
        process. The worker group is set as a field on objects in the
        pipeline when they are created. You can only specify a single
        value for workerGroup in the call to
        PollForTask. There are no wildcard values permitted
        in workerGroup; the string must be an exact,
        case-sensitive, match.public void setHostname(String hostname)
The public DNS name of the calling task runner.
hostname - The public DNS name of the calling task runner.public String getHostname()
The public DNS name of the calling task runner.
public PollForTaskRequest withHostname(String hostname)
The public DNS name of the calling task runner.
hostname - The public DNS name of the calling task runner.public void setInstanceIdentity(InstanceIdentity instanceIdentity)
 Identity information for the EC2 instance that is hosting the task
 runner. You can get this value from the instance using
 http://169.254.169.254/latest/meta-data/instance-id. For
 more information, see Instance Metadata in the Amazon Elastic Compute Cloud User
 Guide. Passing in this value proves that your task runner is running
 on an EC2 instance, and ensures the proper AWS Data Pipeline service
 charges are applied to your pipeline.
 
instanceIdentity - Identity information for the EC2 instance that is hosting the task
        runner. You can get this value from the instance using
        http://169.254.169.254/latest/meta-data/instance-id.
        For more information, see Instance Metadata in the Amazon Elastic Compute Cloud User
        Guide. Passing in this value proves that your task runner is
        running on an EC2 instance, and ensures the proper AWS Data
        Pipeline service charges are applied to your pipeline.public InstanceIdentity getInstanceIdentity()
 Identity information for the EC2 instance that is hosting the task
 runner. You can get this value from the instance using
 http://169.254.169.254/latest/meta-data/instance-id. For
 more information, see Instance Metadata in the Amazon Elastic Compute Cloud User
 Guide. Passing in this value proves that your task runner is running
 on an EC2 instance, and ensures the proper AWS Data Pipeline service
 charges are applied to your pipeline.
 
http://169.254.169.254/latest/meta-data/instance-id.
         For more information, see Instance Metadata in the Amazon Elastic Compute Cloud
         User Guide. Passing in this value proves that your task
         runner is running on an EC2 instance, and ensures the proper AWS
         Data Pipeline service charges are applied to your pipeline.public PollForTaskRequest withInstanceIdentity(InstanceIdentity instanceIdentity)
 Identity information for the EC2 instance that is hosting the task
 runner. You can get this value from the instance using
 http://169.254.169.254/latest/meta-data/instance-id. For
 more information, see Instance Metadata in the Amazon Elastic Compute Cloud User
 Guide. Passing in this value proves that your task runner is running
 on an EC2 instance, and ensures the proper AWS Data Pipeline service
 charges are applied to your pipeline.
 
instanceIdentity - Identity information for the EC2 instance that is hosting the task
        runner. You can get this value from the instance using
        http://169.254.169.254/latest/meta-data/instance-id.
        For more information, see Instance Metadata in the Amazon Elastic Compute Cloud User
        Guide. Passing in this value proves that your task runner is
        running on an EC2 instance, and ensures the proper AWS Data
        Pipeline service charges are applied to your pipeline.public String toString()
toString in class ObjectObject.toString()public PollForTaskRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.