public static interface SetInstanceProtectionRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<SetInstanceProtectionRequest.Builder,SetInstanceProtectionRequest>
Modifier and Type | Method and Description |
---|---|
SetInstanceProtectionRequest.Builder |
autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
SetInstanceProtectionRequest.Builder |
instanceIds(Collection<String> instanceIds)
One or more instance IDs.
|
SetInstanceProtectionRequest.Builder |
instanceIds(String... instanceIds)
One or more instance IDs.
|
SetInstanceProtectionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
SetInstanceProtectionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
SetInstanceProtectionRequest.Builder |
protectedFromScaleIn(Boolean protectedFromScaleIn)
Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
SetInstanceProtectionRequest.Builder instanceIds(Collection<String> instanceIds)
One or more instance IDs.
instanceIds
- One or more instance IDs.SetInstanceProtectionRequest.Builder instanceIds(String... instanceIds)
One or more instance IDs.
instanceIds
- One or more instance IDs.SetInstanceProtectionRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.SetInstanceProtectionRequest.Builder protectedFromScaleIn(Boolean protectedFromScaleIn)
Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
protectedFromScaleIn
- Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling
in.SetInstanceProtectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
SetInstanceProtectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.