public class RecordLifecycleActionHeartbeatRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
RecordLifecycleActionHeartbeat operation.
Records a heartbeat for the lifecycle action associated with a
specific token. This extends the timeout by the length of time defined
by the HeartbeatTimeout parameter of PutLifecycleHook.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide .
NOOP| Constructor and Description |
|---|
RecordLifecycleActionHeartbeatRequest() |
| Modifier and Type | Method and Description |
|---|---|
RecordLifecycleActionHeartbeatRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group for the hook.
|
String |
getLifecycleActionToken()
A token that uniquely identifies a specific lifecycle action
associated with an instance.
|
String |
getLifecycleHookName()
The name of the lifecycle hook.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group for the hook.
|
void |
setLifecycleActionToken(String lifecycleActionToken)
A token that uniquely identifies a specific lifecycle action
associated with an instance.
|
void |
setLifecycleHookName(String lifecycleHookName)
The name of the lifecycle hook.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RecordLifecycleActionHeartbeatRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group for the hook.
|
RecordLifecycleActionHeartbeatRequest |
withLifecycleActionToken(String lifecycleActionToken)
A token that uniquely identifies a specific lifecycle action
associated with an instance.
|
RecordLifecycleActionHeartbeatRequest |
withLifecycleHookName(String lifecycleHookName)
The name of the lifecycle hook.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic RecordLifecycleActionHeartbeatRequest()
public String getLifecycleHookName()
Constraints:
Length: 1 - 255
Pattern: [A-Za-z0-9\-_\/]+
public void setLifecycleHookName(String lifecycleHookName)
Constraints:
Length: 1 - 255
Pattern: [A-Za-z0-9\-_\/]+
lifecycleHookName - The name of the lifecycle hook.public RecordLifecycleActionHeartbeatRequest withLifecycleHookName(String lifecycleHookName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [A-Za-z0-9\-_\/]+
lifecycleHookName - The name of the lifecycle hook.public String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName - The name of the Auto Scaling group for the hook.public RecordLifecycleActionHeartbeatRequest withAutoScalingGroupName(String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName - The name of the Auto Scaling group for the hook.public String getLifecycleActionToken()
Constraints:
Length: 36 - 36
public void setLifecycleActionToken(String lifecycleActionToken)
Constraints:
Length: 36 - 36
lifecycleActionToken - A token that uniquely identifies a specific lifecycle action
associated with an instance. Auto Scaling sends this token to the
notification target you specified when you created the lifecycle hook.public RecordLifecycleActionHeartbeatRequest withLifecycleActionToken(String lifecycleActionToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 36 - 36
lifecycleActionToken - A token that uniquely identifies a specific lifecycle action
associated with an instance. Auto Scaling sends this token to the
notification target you specified when you created the lifecycle hook.public String toString()
toString in class ObjectObject.toString()public RecordLifecycleActionHeartbeatRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.