Class RecordLifecycleActionHeartbeatRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The name of the Auto Scaling group for the hook.The ID of the instance.A token that uniquely identifies a specific lifecycle action associated with an instance.The name of the lifecycle hook.int
hashCode()
void
setAutoScalingGroupName
(String autoScalingGroupName) The name of the Auto Scaling group for the hook.void
setInstanceId
(String instanceId) The ID of the instance.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.toString()
Returns a string representation of this object; useful for testing and debugging.withAutoScalingGroupName
(String autoScalingGroupName) The name of the Auto Scaling group for the hook.withInstanceId
(String instanceId) The ID of the instance.withLifecycleActionToken
(String lifecycleActionToken) A token that uniquely identifies a specific lifecycle action associated with an instance.withLifecycleHookName
(String lifecycleHookName) The name of the lifecycle hook.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
RecordLifecycleActionHeartbeatRequest
public RecordLifecycleActionHeartbeatRequest()
-
-
Method Details
-
setLifecycleHookName
The name of the lifecycle hook.
- Parameters:
lifecycleHookName
- The name of the lifecycle hook.
-
getLifecycleHookName
The name of the lifecycle hook.
- Returns:
- The name of the lifecycle hook.
-
withLifecycleHookName
The name of the lifecycle hook.
- Parameters:
lifecycleHookName
- The name of the lifecycle hook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAutoScalingGroupName
The name of the Auto Scaling group for the hook.
- Parameters:
autoScalingGroupName
- The name of the Auto Scaling group for the hook.
-
getAutoScalingGroupName
The name of the Auto Scaling group for the hook.
- Returns:
- The name of the Auto Scaling group for the hook.
-
withAutoScalingGroupName
The name of the Auto Scaling group for the hook.
- Parameters:
autoScalingGroupName
- The name of the Auto Scaling group for the hook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLifecycleActionToken
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withLifecycleActionToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceId
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.
-
getInstanceId
The ID of the instance.
- Returns:
- The ID of the instance.
-
withInstanceId
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-