Class CompleteLifecycleActionRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe 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.inthashCode()voidsetAutoScalingGroupName(String autoScalingGroupName) The name of the group for the lifecycle hook.voidsetInstanceId(String instanceId) The ID of the instance.voidsetLifecycleActionResult(String lifecycleActionResult) The action for the group to take.voidsetLifecycleActionToken(String lifecycleActionToken) A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance.voidsetLifecycleHookName(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 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
CONTINUEorABANDON.- Parameters:
lifecycleActionResult- The action for the group to take. This parameter can be eitherCONTINUEorABANDON.
-
getLifecycleActionResult
The action for the group to take. This parameter can be either
CONTINUEorABANDON.- Returns:
- The action for the group to take. This parameter can be either
CONTINUEorABANDON.
-
withLifecycleActionResult
The action for the group to take. This parameter can be either
CONTINUEorABANDON.- Parameters:
lifecycleActionResult- The action for the group to take. This parameter can be eitherCONTINUEorABANDON.- 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
-
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
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-