Class CompleteLifecycleActionRequest
- 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 group for the lifecycle hook.The ID of the instance.The action for the group to take.A universally unique identifier (UUID) that 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 group for the lifecycle hook.void
setInstanceId
(String instanceId) The ID of the instance.void
setLifecycleActionResult
(String lifecycleActionResult) The action for the group to take.void
setLifecycleActionToken
(String lifecycleActionToken) A universally unique identifier (UUID) that 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 group for the lifecycle hook.withInstanceId
(String instanceId) The ID of the instance.withLifecycleActionResult
(String lifecycleActionResult) The action for the group to take.withLifecycleActionToken
(String lifecycleActionToken) A universally unique identifier (UUID) that 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
-
CompleteLifecycleActionRequest
public CompleteLifecycleActionRequest()
-
-
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 group for the lifecycle hook.
- Parameters:
autoScalingGroupName
- The name of the group for the lifecycle hook.
-
getAutoScalingGroupName
The name of the group for the lifecycle hook.
- Returns:
- The name of the group for the lifecycle hook.
-
withAutoScalingGroupName
The name of the group for the lifecycle hook.
- Parameters:
autoScalingGroupName
- The name of the group for the lifecycle hook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLifecycleActionToken
A universally unique identifier (UUID) that 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 universally unique identifier (UUID) that 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 universally unique identifier (UUID) that 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 universally unique identifier (UUID) that 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 universally unique identifier (UUID) that 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 universally unique identifier (UUID) that 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.
-
setLifecycleActionResult
The action for the group to take. This parameter can be either
CONTINUE
orABANDON
.- Parameters:
lifecycleActionResult
- The action for the group to take. This parameter can be eitherCONTINUE
orABANDON
.
-
getLifecycleActionResult
The action for the group to take. This parameter can be either
CONTINUE
orABANDON
.- Returns:
- The action for the group to take. This parameter can be either
CONTINUE
orABANDON
.
-
withLifecycleActionResult
The action for the group to take. This parameter can be either
CONTINUE
orABANDON
.- Parameters:
lifecycleActionResult
- The action for the group to take. This parameter can be eitherCONTINUE
orABANDON
.- 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:
-