public static final class SetGroupDeletionProtectionRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
SetGroupDeletionProtectionRequest |
build() |
SetGroupDeletionProtectionRequest.Builder |
groupDeletionProtection(Boolean groupDeletionProtection)
Specifies whether to enable deletion protection for the scaling group.
|
SetGroupDeletionProtectionRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
SetGroupDeletionProtectionRequest.Builder |
regionId(String regionId)
The region ID.
|
SetGroupDeletionProtectionRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
SetGroupDeletionProtectionRequest.Builder |
scalingGroupId(String scalingGroupId)
The ID of the scaling group.
|
public SetGroupDeletionProtectionRequest.Builder groupDeletionProtection(Boolean groupDeletionProtection)
* true: enables deletion protection. In this case, you cannot delete the scaling group by using the Auto Scaling console or calling an API operation. You must disable deletion protection before you can delete the scaling group. * false: disables deletion protection. Default value: false.
public SetGroupDeletionProtectionRequest.Builder ownerId(Long ownerId)
public SetGroupDeletionProtectionRequest.Builder regionId(String regionId)
public SetGroupDeletionProtectionRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public SetGroupDeletionProtectionRequest.Builder scalingGroupId(String scalingGroupId)
public SetGroupDeletionProtectionRequest build()
Copyright © 2024. All rights reserved.