Class PollForTaskRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.datapipeline.model.PollForTaskRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class PollForTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for PollForTask.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description PollForTaskRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
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
-
-
-
-
Method Detail
-
setWorkerGroup
public 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 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
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 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
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 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
public void setHostname(String hostname)
The public DNS name of the calling task runner.
- Parameters:
hostname
- The public DNS name of the calling task runner.
-
getHostname
public String getHostname()
The public DNS name of the calling task runner.
- Returns:
- The public DNS name of the calling task runner.
-
withHostname
public PollForTaskRequest withHostname(String hostname)
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
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.- 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
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.- 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
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.- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PollForTaskRequest 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:
Object.clone()
-
-