@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.
|
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.
|
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.
|
RecordLifecycleActionHeartbeatRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
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.
autoScalingGroupName
- The name of the Auto Scaling group.public String getAutoScalingGroupName()
The name of the Auto Scaling group.
public RecordLifecycleActionHeartbeatRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public void setLifecycleActionToken(String lifecycleActionToken)
A token that uniquely identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target that you specified when you created the lifecycle hook.
lifecycleActionToken
- A token that uniquely identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto
Scaling sends this token to the notification target that you specified when you created the lifecycle
hook.public String getLifecycleActionToken()
A token that uniquely identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target that 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. Amazon EC2 Auto Scaling sends this token to the notification target that you specified when you created the lifecycle hook.
lifecycleActionToken
- A token that uniquely identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto
Scaling sends this token to the notification target that 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()