public static final class DeleteScalingGroupRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DeleteScalingGroupRequest |
build() |
DeleteScalingGroupRequest.Builder |
forceDelete(Boolean forceDelete)
Specifies whether to enforce the deletion of the scaling group, including the removal of the current ECS instances or elastic container instances from the scaling group and their subsequent release, even if the scaling group is actively undergoing scaling activities.
|
DeleteScalingGroupRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
DeleteScalingGroupRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
DeleteScalingGroupRequest.Builder |
regionId(String regionId)
The region ID of the scaling group.
|
DeleteScalingGroupRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
DeleteScalingGroupRequest.Builder |
scalingGroupId(String scalingGroupId)
The ID of the scaling group.
|
public DeleteScalingGroupRequest.Builder forceDelete(Boolean forceDelete)
* true: enforces the deletion of the scaling group. In this case, the scaling group first enters the Disabled state, ceasing acceptance of new scaling requests. Auto Scaling awaits the conclusion of all ongoing scaling activities in the scaling group before it automatically removes the current ECS instances or elastic container instances from the scaling group and enforces the deletion operation. Note that manually added instances are merely removed from the scaling group, whereas auto-provisioned instances are removed and deleted. * false: does not enforce the deletion of the scaling group. The scaling group will be disabled and then deleted once all the following requirements are satisfied: * The scaling group has no ongoing scaling activities. * The scaling group contains no ECS instances or elastic container instances (Total Capacity=0). Default value: false.
public DeleteScalingGroupRequest.Builder ownerAccount(String ownerAccount)
public DeleteScalingGroupRequest.Builder ownerId(Long ownerId)
public DeleteScalingGroupRequest.Builder regionId(String regionId)
public DeleteScalingGroupRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DeleteScalingGroupRequest.Builder scalingGroupId(String scalingGroupId)
public DeleteScalingGroupRequest build()
Copyright © 2024. All rights reserved.