public static interface SetInstanceProtectionRequest.Builder extends AutoScalingRequest.Builder, CopyableBuilder<SetInstanceProtectionRequest.Builder,SetInstanceProtectionRequest>
| Modifier and Type | Method and Description |
|---|---|
SetInstanceProtectionRequest.Builder |
autoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
SetInstanceProtectionRequest.Builder |
instanceIds(Collection<String> instanceIds)
One or more instance IDs.
|
SetInstanceProtectionRequest.Builder |
instanceIds(String... instanceIds)
One or more instance IDs.
|
SetInstanceProtectionRequest.Builder |
protectedFromScaleIn(Boolean protectedFromScaleIn)
Indicates whether the instance is protected from termination by Auto Scaling when scaling in.
|
SetInstanceProtectionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
SetInstanceProtectionRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildSetInstanceProtectionRequest.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 group.
autoScalingGroupName - The name of the group.SetInstanceProtectionRequest.Builder protectedFromScaleIn(Boolean protectedFromScaleIn)
Indicates whether the instance is protected from termination by Auto Scaling when scaling in.
protectedFromScaleIn - Indicates whether the instance is protected from termination by Auto Scaling when scaling in.SetInstanceProtectionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.SetInstanceProtectionRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.