Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.datapipeline.model
Class ReportTaskRunnerHeartbeatRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.datapipeline.model.ReportTaskRunnerHeartbeatRequest

public class ReportTaskRunnerHeartbeatRequest
extends AmazonWebServiceRequest

Container for the parameters to the ReportTaskRunnerHeartbeat operation.

Task runners call ReportTaskRunnerHeartbeat to indicate that they are operational. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service can use this call to detect when the task runner application has failed and restart a new instance.

See Also:
DataPipeline.reportTaskRunnerHeartbeat(ReportTaskRunnerHeartbeatRequest)

Constructor Summary
ReportTaskRunnerHeartbeatRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getHostname()
          The public DNS name of the calling task runner.
 java.lang.String getTaskrunnerId()
          The identifier of the task runner.
 java.lang.String getWorkerGroup()
          Indicates the type of task the task runner is configured to accept and process.
 int hashCode()
           
 void setHostname(java.lang.String hostname)
          The public DNS name of the calling task runner.
 void setTaskrunnerId(java.lang.String taskrunnerId)
          The identifier of the task runner.
 void setWorkerGroup(java.lang.String workerGroup)
          Indicates the type of task the task runner is configured to accept and process.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ReportTaskRunnerHeartbeatRequest withHostname(java.lang.String hostname)
          The public DNS name of the calling task runner.
 ReportTaskRunnerHeartbeatRequest withTaskrunnerId(java.lang.String taskrunnerId)
          The identifier of the task runner.
 ReportTaskRunnerHeartbeatRequest withWorkerGroup(java.lang.String workerGroup)
          Indicates the type of task the task runner is configured to accept and process.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportTaskRunnerHeartbeatRequest

public ReportTaskRunnerHeartbeatRequest()
Method Detail

getTaskrunnerId

public java.lang.String getTaskrunnerId()
The identifier of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

Returns:
The identifier of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.

setTaskrunnerId

public void setTaskrunnerId(java.lang.String taskrunnerId)
The identifier of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

Parameters:
taskrunnerId - The identifier of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.

withTaskrunnerId

public ReportTaskRunnerHeartbeatRequest withTaskrunnerId(java.lang.String taskrunnerId)
The identifier of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

Parameters:
taskrunnerId - The identifier of the task runner. This value should be unique across your AWS account. In the case of AWS Data Pipeline Task Runner launched on a resource managed by AWS Data Pipeline, the web service provides a unique identifier when it launches the application. If you have written a custom task runner, you should assign a unique identifier for the task runner.
Returns:
A reference to this updated object so that method calls can be chained together.

getWorkerGroup

public java.lang.String getWorkerGroup()
Indicates 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 ReportTaskRunnerHeartbeat. There are no wildcard values permitted in workerGroup, the string must be an exact, case-sensitive, match.

Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\r\n\t]*

Returns:
Indicates 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 ReportTaskRunnerHeartbeat. There are no wildcard values permitted in workerGroup, the string must be an exact, case-sensitive, match.

setWorkerGroup

public void setWorkerGroup(java.lang.String workerGroup)
Indicates 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 ReportTaskRunnerHeartbeat. There are no wildcard values permitted in workerGroup, the string must be an exact, case-sensitive, match.

Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\r\n\t]*

Parameters:
workerGroup - Indicates 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 ReportTaskRunnerHeartbeat. There are no wildcard values permitted in workerGroup, the string must be an exact, case-sensitive, match.

withWorkerGroup

public ReportTaskRunnerHeartbeatRequest withWorkerGroup(java.lang.String workerGroup)
Indicates 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 ReportTaskRunnerHeartbeat. There are no wildcard values permitted in workerGroup, the string must be an exact, case-sensitive, match.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\r\n\t]*

Parameters:
workerGroup - Indicates 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 ReportTaskRunnerHeartbeat. There are no wildcard values permitted in workerGroup, the string must be an exact, case-sensitive, match.
Returns:
A reference to this updated object so that method calls can be chained together.

getHostname

public java.lang.String getHostname()
The public DNS name of the calling task runner.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

Returns:
The public DNS name of the calling task runner.

setHostname

public void setHostname(java.lang.String hostname)
The public DNS name of the calling task runner.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

Parameters:
hostname - The public DNS name of the calling task runner.

withHostname

public ReportTaskRunnerHeartbeatRequest withHostname(java.lang.String hostname)
The public DNS name of the calling task runner.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*

Parameters:
hostname - The public DNS name of the calling task runner.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.