|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.datapipeline.model.ReportTaskRunnerHeartbeatRequest
public class ReportTaskRunnerHeartbeatRequest
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.
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 |
---|
public ReportTaskRunnerHeartbeatRequest()
Method Detail |
---|
public java.lang.String getTaskrunnerId()
Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*
public void setTaskrunnerId(java.lang.String taskrunnerId)
Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\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(java.lang.String taskrunnerId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\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 java.lang.String getWorkerGroup()
Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\r\n\t]*
public void setWorkerGroup(java.lang.String workerGroup)
Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\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(java.lang.String workerGroup)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\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 java.lang.String getHostname()
Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*
public void setHostname(java.lang.String hostname)
Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*
hostname
- The public DNS name of the calling task runner.public ReportTaskRunnerHeartbeatRequest withHostname(java.lang.String hostname)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*
hostname
- The public DNS name of the calling task runner.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |