Class CompleteLifecycleActionRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.autoscaling.model.CompleteLifecycleActionRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class CompleteLifecycleActionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CompleteLifecycleActionRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompleteLifecycleActionRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAutoScalingGroupName()The name of the group for the lifecycle hook.StringgetInstanceId()The ID of the instance.StringgetLifecycleActionResult()The action for the group to take.StringgetLifecycleActionToken()A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance.StringgetLifecycleHookName()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.StringtoString()Returns a string representation of this object; useful for testing and debugging.CompleteLifecycleActionRequestwithAutoScalingGroupName(String autoScalingGroupName)The name of the group for the lifecycle hook.CompleteLifecycleActionRequestwithInstanceId(String instanceId)The ID of the instance.CompleteLifecycleActionRequestwithLifecycleActionResult(String lifecycleActionResult)The action for the group to take.CompleteLifecycleActionRequestwithLifecycleActionToken(String lifecycleActionToken)A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance.CompleteLifecycleActionRequestwithLifecycleHookName(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
-
-
-
-
Method Detail
-
setLifecycleHookName
public void setLifecycleHookName(String lifecycleHookName)
The name of the lifecycle hook.
- Parameters:
lifecycleHookName- The name of the lifecycle hook.
-
getLifecycleHookName
public String getLifecycleHookName()
The name of the lifecycle hook.
- Returns:
- The name of the lifecycle hook.
-
withLifecycleHookName
public CompleteLifecycleActionRequest withLifecycleHookName(String lifecycleHookName)
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
public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the group for the lifecycle hook.
- Parameters:
autoScalingGroupName- The name of the group for the lifecycle hook.
-
getAutoScalingGroupName
public String getAutoScalingGroupName()
The name of the group for the lifecycle hook.
- Returns:
- The name of the group for the lifecycle hook.
-
withAutoScalingGroupName
public CompleteLifecycleActionRequest withAutoScalingGroupName(String autoScalingGroupName)
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
public void setLifecycleActionToken(String 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.
- 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
public String 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
public CompleteLifecycleActionRequest withLifecycleActionToken(String 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.
- 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
public void setLifecycleActionResult(String lifecycleActionResult)
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
public String 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
public CompleteLifecycleActionRequest withLifecycleActionResult(String lifecycleActionResult)
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
public void setInstanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.
-
getInstanceId
public String getInstanceId()
The ID of the instance.
- Returns:
- The ID of the instance.
-
withInstanceId
public CompleteLifecycleActionRequest withInstanceId(String instanceId)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CompleteLifecycleActionRequest 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:
Object.clone()
-
-