All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.ess20220222.models.DetachDBInstancesRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ess20220222.models;

import com.aliyun.tea.*;

public class DetachDBInstancesRequest extends TeaModel {
    /**
     * 

The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that the value is unique among different requests.

*

The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.

* * example: *

123e4567-e89b-12d3-a456-42665544****

*/ @NameInMap("ClientToken") public String clientToken; /** *

The IDs of the ApsaraDB RDS instances. You can specify up to five ApsaraDB RDS instances.

*

This parameter is required.

*/ @NameInMap("DBInstances") public java.util.List DBInstances; /** *

Specifies whether to remove the private IP addresses of the existing instances in the scaling group from the IP address whitelist of the ApsaraDB RDS instance. Valid values:

*
    *
  • true
  • *
  • false
  • *
*

Default value: false.

* * example: *

false

*/ @NameInMap("ForceDetach") public Boolean forceDetach; @NameInMap("OwnerId") public Long ownerId; /** *

The region ID of the scaling group.

* * example: *

cn-qingdao

*/ @NameInMap("RegionId") public String regionId; /** *

This parameter takes effect only for databases whose AttachMode is set to SecurityGroup. If you set this parameter to true, Auto Scaling removes the security group ID of the active scaling configuration from the security group whitelist of the database that you want to detach from the scaling group.

*

Default value: false.

* * example: *

false

*/ @NameInMap("RemoveSecurityGroup") public Boolean removeSecurityGroup; @NameInMap("ResourceOwnerAccount") public String resourceOwnerAccount; /** *

The ID of the scaling group.

*

This parameter is required.

* * example: *

asg-bp1igpak5ft1flyp****

*/ @NameInMap("ScalingGroupId") public String scalingGroupId; public static DetachDBInstancesRequest build(java.util.Map map) throws Exception { DetachDBInstancesRequest self = new DetachDBInstancesRequest(); return TeaModel.build(map, self); } public DetachDBInstancesRequest setClientToken(String clientToken) { this.clientToken = clientToken; return this; } public String getClientToken() { return this.clientToken; } public DetachDBInstancesRequest setDBInstances(java.util.List DBInstances) { this.DBInstances = DBInstances; return this; } public java.util.List getDBInstances() { return this.DBInstances; } public DetachDBInstancesRequest setForceDetach(Boolean forceDetach) { this.forceDetach = forceDetach; return this; } public Boolean getForceDetach() { return this.forceDetach; } public DetachDBInstancesRequest setOwnerId(Long ownerId) { this.ownerId = ownerId; return this; } public Long getOwnerId() { return this.ownerId; } public DetachDBInstancesRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public DetachDBInstancesRequest setRemoveSecurityGroup(Boolean removeSecurityGroup) { this.removeSecurityGroup = removeSecurityGroup; return this; } public Boolean getRemoveSecurityGroup() { return this.removeSecurityGroup; } public DetachDBInstancesRequest setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; return this; } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public DetachDBInstancesRequest setScalingGroupId(String scalingGroupId) { this.scalingGroupId = scalingGroupId; return this; } public String getScalingGroupId() { return this.scalingGroupId; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy