public class RecordLifecycleActionHeartbeatRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
autoScalingGroupName
The name of the Auto Scaling group for the hook.
|
private java.lang.String |
instanceId
The ID of the instance.
|
private java.lang.String |
lifecycleActionToken
A token that uniquely identifies a specific lifecycle action associated
with an instance.
|
private java.lang.String |
lifecycleHookName
The name of the lifecycle hook.
|
NOOP
Constructor and Description |
---|
RecordLifecycleActionHeartbeatRequest() |
Modifier and Type | Method and Description |
---|---|
RecordLifecycleActionHeartbeatRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name of the Auto Scaling group for the hook.
|
java.lang.String |
getInstanceId()
The ID of the instance.
|
java.lang.String |
getLifecycleActionToken()
A token that uniquely identifies a specific lifecycle action associated
with an instance.
|
java.lang.String |
getLifecycleHookName()
The name of the lifecycle hook.
|
int |
hashCode() |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group for the hook.
|
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance.
|
void |
setLifecycleActionToken(java.lang.String lifecycleActionToken)
A token that uniquely identifies a specific lifecycle action associated
with an instance.
|
void |
setLifecycleHookName(java.lang.String lifecycleHookName)
The name of the lifecycle hook.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RecordLifecycleActionHeartbeatRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group for the hook.
|
RecordLifecycleActionHeartbeatRequest |
withInstanceId(java.lang.String instanceId)
The ID of the instance.
|
RecordLifecycleActionHeartbeatRequest |
withLifecycleActionToken(java.lang.String lifecycleActionToken)
A token that uniquely identifies a specific lifecycle action associated
with an instance.
|
RecordLifecycleActionHeartbeatRequest |
withLifecycleHookName(java.lang.String lifecycleHookName)
The name of the lifecycle hook.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String lifecycleHookName
The name of the lifecycle hook.
private java.lang.String autoScalingGroupName
The name of the Auto Scaling group for the hook.
private java.lang.String 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.
private java.lang.String instanceId
The ID of the instance.
public RecordLifecycleActionHeartbeatRequest()
public void setLifecycleHookName(java.lang.String lifecycleHookName)
The name of the lifecycle hook.
lifecycleHookName
- The name of the lifecycle hook.public java.lang.String getLifecycleHookName()
The name of the lifecycle hook.
public RecordLifecycleActionHeartbeatRequest withLifecycleHookName(java.lang.String lifecycleHookName)
The name of the lifecycle hook.
lifecycleHookName
- The name of the lifecycle hook.public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group for the hook.
autoScalingGroupName
- The name of the Auto Scaling group for the hook.public java.lang.String getAutoScalingGroupName()
The name of the Auto Scaling group for the hook.
public RecordLifecycleActionHeartbeatRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group for the hook.
autoScalingGroupName
- The name of the Auto Scaling group for the hook.public void setLifecycleActionToken(java.lang.String 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.
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 java.lang.String getLifecycleActionToken()
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(java.lang.String 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.
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 void setInstanceId(java.lang.String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public java.lang.String getInstanceId()
The ID of the instance.
public RecordLifecycleActionHeartbeatRequest withInstanceId(java.lang.String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RecordLifecycleActionHeartbeatRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()