public class ReportTaskRunnerHeartbeatRequest extends AmazonWebServiceRequest implements Serializable
ReportTaskRunnerHeartbeat operation
.
Task runners call ReportTaskRunnerHeartbeat every 15 minutes 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.
NOOP
Constructor and Description |
---|
ReportTaskRunnerHeartbeatRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getHostname()
The public DNS name of the calling task runner.
|
String |
getTaskrunnerId()
The identifier of the task runner.
|
String |
getWorkerGroup()
Indicates 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 |
setTaskrunnerId(String taskrunnerId)
The identifier of the task runner.
|
void |
setWorkerGroup(String workerGroup)
Indicates 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 calling task runner.
|
ReportTaskRunnerHeartbeatRequest |
withTaskrunnerId(String taskrunnerId)
The identifier of the task runner.
|
ReportTaskRunnerHeartbeatRequest |
withWorkerGroup(String workerGroup)
Indicates the type of task the task runner is configured to accept and
process.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 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.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 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.public String getWorkerGroup()
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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
workerGroup
in the call to
ReportTaskRunnerHeartbeat. There are no wildcard values
permitted in workerGroup
, the string must be an exact,
case-sensitive, match.public void setWorkerGroup(String workerGroup)
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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.public ReportTaskRunnerHeartbeatRequest withWorkerGroup(String workerGroup)
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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
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.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 calling 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 calling task runner.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.