Interface AutoScalingGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoScalingGroup.Builder,
,AutoScalingGroup> SdkBuilder<AutoScalingGroup.Builder,
,AutoScalingGroup> SdkPojo
- Enclosing class:
AutoScalingGroup
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the launch hook that CodeDeploy installed into the Auto Scaling group.The Auto Scaling group name.terminationHook
(String terminationHook) The name of the termination hook that CodeDeploy installed into the Auto Scaling group.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 Details
-
name
The Auto Scaling group name.
- Parameters:
name
- The Auto Scaling group name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hook
The name of the launch hook that CodeDeploy installed into the Auto Scaling group.
For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
- Parameters:
hook
- The name of the launch hook that CodeDeploy installed into the Auto Scaling group.For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminationHook
The name of the termination hook that CodeDeploy installed into the Auto Scaling group.
For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
- Parameters:
terminationHook
- The name of the termination hook that CodeDeploy installed into the Auto Scaling group.For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-