Class PollForTaskRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Contains the parameters for PollForTask.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The public DNS name of the calling task runner.Identity information for the EC2 instance that is hosting the task runner.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.toString()
Returns a string representation of this object; useful for testing and debugging.withHostname
(String hostname) The public DNS name of the calling task runner.withInstanceIdentity
(InstanceIdentity instanceIdentity) Identity information for the EC2 instance that is hosting the task runner.withWorkerGroup
(String workerGroup) The type of task the task runner is configured to accept and process.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
PollForTaskRequest
public PollForTaskRequest()
-
-
Method Details
-
setWorkerGroup
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 toPollForTask
. There are no wildcard values permitted inworkerGroup
; the string must be an exact, case-sensitive, match.- Parameters:
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 forworkerGroup
in the call toPollForTask
. There are no wildcard values permitted inworkerGroup
; the string must be an exact, case-sensitive, match.
-
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 toPollForTask
. There are no wildcard values permitted inworkerGroup
; the string must be an exact, case-sensitive, match.- Returns:
- 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 toPollForTask
. There are no wildcard values permitted inworkerGroup
; the string must be an exact, case-sensitive, match.
-
withWorkerGroup
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 toPollForTask
. There are no wildcard values permitted inworkerGroup
; the string must be an exact, case-sensitive, match.- Parameters:
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 forworkerGroup
in the call toPollForTask
. There are no wildcard values permitted inworkerGroup
; the string must be an exact, case-sensitive, match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHostname
The public DNS name of the calling task runner.
- Parameters:
hostname
- The public DNS name of the calling task runner.
-
getHostname
The public DNS name of the calling task runner.
- Returns:
- The public DNS name of the calling task runner.
-
withHostname
The public DNS name of the calling task runner.
- Parameters:
hostname
- The public DNS name of the calling task runner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceIdentity
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.- Parameters:
instanceIdentity
- Identity information for the EC2 instance that is hosting the task runner. You can get this value from the instance usinghttp://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.
-
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.- Returns:
- 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.
-
withInstanceIdentity
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.- Parameters:
instanceIdentity
- Identity information for the EC2 instance that is hosting the task runner. You can get this value from the instance usinghttp://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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-