Class RecordLifecycleActionHeartbeatRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.autoscaling.model.AutoScalingRequest
-
- software.amazon.awssdk.services.autoscaling.model.RecordLifecycleActionHeartbeatRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<RecordLifecycleActionHeartbeatRequest.Builder,RecordLifecycleActionHeartbeatRequest>
@Generated("software.amazon.awssdk:codegen") public final class RecordLifecycleActionHeartbeatRequest extends AutoScalingRequest implements ToCopyableBuilder<RecordLifecycleActionHeartbeatRequest.Builder,RecordLifecycleActionHeartbeatRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RecordLifecycleActionHeartbeatRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
autoScalingGroupName()
The name of the Auto Scaling group.static RecordLifecycleActionHeartbeatRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
instanceId()
The ID of the instance.String
lifecycleActionToken()
A token that uniquely identifies a specific lifecycle action associated with an instance.String
lifecycleHookName()
The name of the lifecycle hook.List<SdkField<?>>
sdkFields()
static Class<? extends RecordLifecycleActionHeartbeatRequest.Builder>
serializableBuilderClass()
RecordLifecycleActionHeartbeatRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
lifecycleHookName
public final String lifecycleHookName()
The name of the lifecycle hook.
- Returns:
- The name of the lifecycle hook.
-
autoScalingGroupName
public final String autoScalingGroupName()
The name of the Auto Scaling group.
- Returns:
- The name of the Auto Scaling group.
-
lifecycleActionToken
public final 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.
- Returns:
- 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.
-
instanceId
public final String instanceId()
The ID of the instance.
- Returns:
- The ID of the instance.
-
toBuilder
public RecordLifecycleActionHeartbeatRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<RecordLifecycleActionHeartbeatRequest.Builder,RecordLifecycleActionHeartbeatRequest>
- Specified by:
toBuilder
in classAutoScalingRequest
-
builder
public static RecordLifecycleActionHeartbeatRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RecordLifecycleActionHeartbeatRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-