@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompleteLifecycleActionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CompleteLifecycleActionRequest() |
Modifier and Type | Method and Description |
---|---|
CompleteLifecycleActionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
String |
getInstanceId()
The ID of the instance.
|
String |
getLifecycleActionResult()
The action for the group to take.
|
String |
getLifecycleActionToken()
A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance.
|
String |
getLifecycleHookName()
The name of the lifecycle hook.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
CompleteLifecycleActionRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
CompleteLifecycleActionRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
CompleteLifecycleActionRequest |
withLifecycleActionResult(String lifecycleActionResult)
The action for the group to take.
|
CompleteLifecycleActionRequest |
withLifecycleActionToken(String lifecycleActionToken)
A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance.
|
CompleteLifecycleActionRequest |
withLifecycleHookName(String lifecycleHookName)
The name of the lifecycle hook.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setLifecycleHookName(String lifecycleHookName)
The name of the lifecycle hook.
lifecycleHookName
- The name of the lifecycle hook.public String getLifecycleHookName()
The name of the lifecycle hook.
public CompleteLifecycleActionRequest withLifecycleHookName(String lifecycleHookName)
The name of the lifecycle hook.
lifecycleHookName
- The name of the lifecycle hook.public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public String getAutoScalingGroupName()
The name of the Auto Scaling group.
public CompleteLifecycleActionRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public void setLifecycleActionToken(String lifecycleActionToken)
A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Amazon EC2 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. Amazon EC2 Auto Scaling sends this token to the notification target you specified when you
created the lifecycle hook.public String getLifecycleActionToken()
A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.
public CompleteLifecycleActionRequest withLifecycleActionToken(String lifecycleActionToken)
A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Amazon EC2 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. Amazon EC2 Auto Scaling sends this token to the notification target you specified when you
created the lifecycle hook.public void setLifecycleActionResult(String lifecycleActionResult)
The action for the group to take. You can specify either CONTINUE
or ABANDON
.
lifecycleActionResult
- The action for the group to take. You can specify either CONTINUE
or ABANDON
.public String getLifecycleActionResult()
The action for the group to take. You can specify either CONTINUE
or ABANDON
.
CONTINUE
or ABANDON
.public CompleteLifecycleActionRequest withLifecycleActionResult(String lifecycleActionResult)
The action for the group to take. You can specify either CONTINUE
or ABANDON
.
lifecycleActionResult
- The action for the group to take. You can specify either CONTINUE
or ABANDON
.public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public CompleteLifecycleActionRequest withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String toString()
toString
in class Object
Object.toString()
public CompleteLifecycleActionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()