public class ReportTaskRunnerHeartbeatRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ReportTaskRunnerHeartbeat operation.
Task runners call ReportTaskRunnerHeartbeat every 15
minutes to indicate that they are operational. If the AWS Data
Pipeline Task Runner is 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.
NOOP| Constructor and Description |
|---|
ReportTaskRunnerHeartbeatRequest() |
| Modifier and Type | Method and Description |
|---|---|
ReportTaskRunnerHeartbeatRequest |
clone() |
boolean |
equals(Object obj) |
String |
getHostname()
The public DNS name of the task runner.
|
String |
getTaskrunnerId()
The ID of 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 task runner.
|
void |
setTaskrunnerId(String taskrunnerId)
The ID of 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.
|
ReportTaskRunnerHeartbeatRequest |
withHostname(String hostname)
The public DNS name of the task runner.
|
ReportTaskRunnerHeartbeatRequest |
withTaskrunnerId(String taskrunnerId)
The ID of the task runner.
|
ReportTaskRunnerHeartbeatRequest |
withWorkerGroup(String workerGroup)
The type of task the task runner is configured to accept and process.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getTaskrunnerId()
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setTaskrunnerId(String taskrunnerId)
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
taskrunnerId - The ID 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.public ReportTaskRunnerHeartbeatRequest withTaskrunnerId(String taskrunnerId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
taskrunnerId - The ID 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.public String getWorkerGroup()
workerGroup. There are no wildcard values permitted in
workerGroup; the string must be an exact, case-sensitive,
match.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
workerGroup. There are no wildcard values permitted in
workerGroup; the string must be an exact, case-sensitive,
match.public void setWorkerGroup(String workerGroup)
workerGroup. There are no wildcard values permitted in
workerGroup; the string must be an exact, case-sensitive,
match.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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. There are no wildcard values permitted in
workerGroup; the string must be an exact, case-sensitive,
match.public ReportTaskRunnerHeartbeatRequest withWorkerGroup(String workerGroup)
workerGroup. 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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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. There are no wildcard values permitted in
workerGroup; the string must be an exact, case-sensitive,
match.public String getHostname()
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setHostname(String hostname)
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
hostname - The public DNS name of the task runner.public ReportTaskRunnerHeartbeatRequest withHostname(String hostname)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
hostname - The public DNS name of the task runner.public String toString()
toString in class ObjectObject.toString()public ReportTaskRunnerHeartbeatRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.