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 interfaceRecordLifecycleActionHeartbeatRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringautoScalingGroupName()The name of the Auto Scaling group.static RecordLifecycleActionHeartbeatRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceId()The ID of the instance.StringlifecycleActionToken()A token that uniquely identifies a specific lifecycle action associated with an instance.StringlifecycleHookName()The name of the lifecycle hook.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RecordLifecycleActionHeartbeatRequest.Builder>serializableBuilderClass()RecordLifecycleActionHeartbeatRequest.BuildertoBuilder()StringtoString()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:
toBuilderin interfaceToCopyableBuilder<RecordLifecycleActionHeartbeatRequest.Builder,RecordLifecycleActionHeartbeatRequest>- Specified by:
toBuilderin classAutoScalingRequest
-
builder
public static RecordLifecycleActionHeartbeatRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RecordLifecycleActionHeartbeatRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-