Interface CompleteLifecycleActionRequest.Builder
-
- All Superinterfaces:
AutoScalingRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CompleteLifecycleActionRequest.Builder,CompleteLifecycleActionRequest>,SdkBuilder<CompleteLifecycleActionRequest.Builder,CompleteLifecycleActionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CompleteLifecycleActionRequest
public static interface CompleteLifecycleActionRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<CompleteLifecycleActionRequest.Builder,CompleteLifecycleActionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompleteLifecycleActionRequest.BuilderautoScalingGroupName(String autoScalingGroupName)The name of the Auto Scaling group.CompleteLifecycleActionRequest.BuilderinstanceId(String instanceId)The ID of the instance.CompleteLifecycleActionRequest.BuilderlifecycleActionResult(String lifecycleActionResult)The action for the group to take.CompleteLifecycleActionRequest.BuilderlifecycleActionToken(String lifecycleActionToken)A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance.CompleteLifecycleActionRequest.BuilderlifecycleHookName(String lifecycleHookName)The name of the lifecycle hook.CompleteLifecycleActionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CompleteLifecycleActionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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, sdkFields
-
-
-
-
Method Detail
-
lifecycleHookName
CompleteLifecycleActionRequest.Builder lifecycleHookName(String lifecycleHookName)
The name of the lifecycle hook.
- Parameters:
lifecycleHookName- The name of the lifecycle hook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroupName
CompleteLifecycleActionRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
- Parameters:
autoScalingGroupName- The name of the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleActionToken
CompleteLifecycleActionRequest.Builder lifecycleActionToken(String lifecycleActionToken)
A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.
- Parameters:
lifecycleActionToken- A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleActionResult
CompleteLifecycleActionRequest.Builder lifecycleActionResult(String lifecycleActionResult)
The action for the group to take. You can specify either
CONTINUEorABANDON.- Parameters:
lifecycleActionResult- The action for the group to take. You can specify eitherCONTINUEorABANDON.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
CompleteLifecycleActionRequest.Builder instanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CompleteLifecycleActionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CompleteLifecycleActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-