public class CompleteLifecycleActionRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
autoScalingGroupName
The name of the group for the lifecycle hook.
|
private java.lang.String |
instanceId
The ID of the instance.
|
private java.lang.String |
lifecycleActionResult
The action for the group to take.
|
private java.lang.String |
lifecycleActionToken
A universally unique identifier (UUID) that identifies a specific
lifecycle action associated with an instance.
|
private java.lang.String |
lifecycleHookName
The name of the lifecycle hook.
|
NOOP
Constructor and Description |
---|
CompleteLifecycleActionRequest() |
Modifier and Type | Method and Description |
---|---|
CompleteLifecycleActionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name of the group for the lifecycle hook.
|
java.lang.String |
getInstanceId()
The ID of the instance.
|
java.lang.String |
getLifecycleActionResult()
The action for the group to take.
|
java.lang.String |
getLifecycleActionToken()
A universally unique identifier (UUID) that 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 group for the lifecycle hook.
|
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance.
|
void |
setLifecycleActionResult(java.lang.String lifecycleActionResult)
The action for the group to take.
|
void |
setLifecycleActionToken(java.lang.String lifecycleActionToken)
A universally unique identifier (UUID) that 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.
|
CompleteLifecycleActionRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group for the lifecycle hook.
|
CompleteLifecycleActionRequest |
withInstanceId(java.lang.String instanceId)
The ID of the instance.
|
CompleteLifecycleActionRequest |
withLifecycleActionResult(java.lang.String lifecycleActionResult)
The action for the group to take.
|
CompleteLifecycleActionRequest |
withLifecycleActionToken(java.lang.String lifecycleActionToken)
A universally unique identifier (UUID) that identifies a specific
lifecycle action associated with an instance.
|
CompleteLifecycleActionRequest |
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 group for the lifecycle hook.
private java.lang.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.
private java.lang.String lifecycleActionResult
The action for the group to take. This parameter can be either
CONTINUE
or ABANDON
.
private java.lang.String instanceId
The ID of the instance.
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 CompleteLifecycleActionRequest 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 group for the lifecycle hook.
autoScalingGroupName
- The name of the group for the lifecycle hook.public java.lang.String getAutoScalingGroupName()
The name of the group for the lifecycle hook.
public CompleteLifecycleActionRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group for the lifecycle hook.
autoScalingGroupName
- The name of the group for the lifecycle hook.public void setLifecycleActionToken(java.lang.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.
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.public java.lang.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.
public CompleteLifecycleActionRequest withLifecycleActionToken(java.lang.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.
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.public void setLifecycleActionResult(java.lang.String lifecycleActionResult)
The action for the group to take. This parameter can be either
CONTINUE
or ABANDON
.
lifecycleActionResult
- The action for the group to take. This parameter can be either
CONTINUE
or ABANDON
.public java.lang.String getLifecycleActionResult()
The action for the group to take. This parameter can be either
CONTINUE
or ABANDON
.
CONTINUE
or ABANDON
.public CompleteLifecycleActionRequest withLifecycleActionResult(java.lang.String lifecycleActionResult)
The action for the group to take. This parameter can be either
CONTINUE
or ABANDON
.
lifecycleActionResult
- The action for the group to take. This parameter can be either
CONTINUE
or ABANDON
.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 CompleteLifecycleActionRequest 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 CompleteLifecycleActionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()