@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecordLifecycleActionHeartbeatRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RecordLifecycleActionHeartbeatRequest() |
Modifier and Type | Method and Description |
---|---|
RecordLifecycleActionHeartbeatRequest |
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 for the hook.
|
String |
getInstanceId()
The ID of the instance.
|
String |
getLifecycleActionToken()
A token that uniquely 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 for the hook.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setLifecycleActionToken(String lifecycleActionToken)
A token that uniquely 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; useful for testing and debugging.
|
RecordLifecycleActionHeartbeatRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group for the hook.
|
RecordLifecycleActionHeartbeatRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
RecordLifecycleActionHeartbeatRequest |
withLifecycleActionToken(String lifecycleActionToken)
A token that uniquely identifies a specific lifecycle action associated with an instance.
|
RecordLifecycleActionHeartbeatRequest |
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 RecordLifecycleActionHeartbeatRequest()
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 RecordLifecycleActionHeartbeatRequest 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 for the hook.
autoScalingGroupName
- The name of the Auto Scaling group for the hook.public String getAutoScalingGroupName()
The name of the Auto Scaling group for the hook.
public RecordLifecycleActionHeartbeatRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group for the hook.
autoScalingGroupName
- The name of the Auto Scaling group for the hook.public void setLifecycleActionToken(String lifecycleActionToken)
A token that uniquely 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 token that uniquely 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 String getLifecycleActionToken()
A token that uniquely 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 RecordLifecycleActionHeartbeatRequest withLifecycleActionToken(String lifecycleActionToken)
A token that uniquely 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 token that uniquely 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 setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public RecordLifecycleActionHeartbeatRequest withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String toString()
toString
in class Object
Object.toString()
public RecordLifecycleActionHeartbeatRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.