Interface RetentionTriggers.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RetentionTriggers.Builder,RetentionTriggers>,SdkBuilder<RetentionTriggers.Builder,RetentionTriggers>,SdkPojo
- Enclosing class:
- RetentionTriggers
@Mutable @NotThreadSafe public static interface RetentionTriggers.Builder extends SdkPojo, CopyableBuilder<RetentionTriggers.Builder,RetentionTriggers>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RetentionTriggers.BuilderterminateHookAbandon(String terminateHookAbandon)Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).RetentionTriggers.BuilderterminateHookAbandon(RetentionAction terminateHookAbandon)Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
terminateHookAbandon
RetentionTriggers.Builder terminateHookAbandon(String terminateHookAbandon)
Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).
Set to
retainto move instances to a retained state. Set toterminatefor default termination behavior.Retained instances don't count toward desired capacity and remain until you call
TerminateInstanceInAutoScalingGroup.- Parameters:
terminateHookAbandon- Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).Set to
retainto move instances to a retained state. Set toterminatefor default termination behavior.Retained instances don't count toward desired capacity and remain until you call
TerminateInstanceInAutoScalingGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RetentionAction,RetentionAction
-
terminateHookAbandon
RetentionTriggers.Builder terminateHookAbandon(RetentionAction terminateHookAbandon)
Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).
Set to
retainto move instances to a retained state. Set toterminatefor default termination behavior.Retained instances don't count toward desired capacity and remain until you call
TerminateInstanceInAutoScalingGroup.- Parameters:
terminateHookAbandon- Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).Set to
retainto move instances to a retained state. Set toterminatefor default termination behavior.Retained instances don't count toward desired capacity and remain until you call
TerminateInstanceInAutoScalingGroup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RetentionAction,RetentionAction
-
-