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.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, 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 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.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.