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

com.aliyun.rds20140815.models.DeleteSecretRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;

import com.aliyun.tea.*;

public class DeleteSecretRequest extends TeaModel {
    /**
     * 

The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.

* * example: *

ETnLKlblzczshOTUbOCz*****

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

The instance ID. You can call the DescribeDBInstances operation to query the instance ID.

*
*

If you specify this parameter, you must also specify the SecretName parameter. parameter.

*
* * example: *

rm-sfjdlsjxxxxx

*/ @NameInMap("DbInstanceId") public String dbInstanceId; /** *

The engine of the database.

*
*

Only MySQL is supported.

*
*

This parameter is required.

* * example: *

MySQL

*/ @NameInMap("Engine") public String engine; @NameInMap("OwnerId") public Long ownerId; /** *

The region ID. You can call the DescribeSecrets operation to query the region ID.

*

This parameter is required.

* * example: *

cn-hangzhou

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

The resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.

* * example: *

rg-acfmy****

*/ @NameInMap("ResourceGroupId") public String resourceGroupId; @NameInMap("ResourceOwnerAccount") public String resourceOwnerAccount; @NameInMap("ResourceOwnerId") public Long resourceOwnerId; /** *

The Alibaba Cloud Resource Name (ARN) of the credential for the created Data API account. You can call the CreateSecret operation to obtain the value of this parameter.

*
*

You must specify one of the SecretArn and SecretName parameters.

*
* * example: *

acs:rds:cn-hangzhou:1335786***:dbInstance/rm-bp1m7l3j63****

*/ @NameInMap("SecretArn") public String secretArn; /** *

The name of the credential.

*
*
    *
  • You must specify one of SecretArn and SecretName.
  • *
  • If you specify this parameter, you must also specify DbInstanceId.
  • *
*
* * example: *

Foo

*/ @NameInMap("SecretName") public String secretName; public static DeleteSecretRequest build(java.util.Map map) throws Exception { DeleteSecretRequest self = new DeleteSecretRequest(); return TeaModel.build(map, self); } public DeleteSecretRequest setClientToken(String clientToken) { this.clientToken = clientToken; return this; } public String getClientToken() { return this.clientToken; } public DeleteSecretRequest setDbInstanceId(String dbInstanceId) { this.dbInstanceId = dbInstanceId; return this; } public String getDbInstanceId() { return this.dbInstanceId; } public DeleteSecretRequest setEngine(String engine) { this.engine = engine; return this; } public String getEngine() { return this.engine; } public DeleteSecretRequest setOwnerId(Long ownerId) { this.ownerId = ownerId; return this; } public Long getOwnerId() { return this.ownerId; } public DeleteSecretRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public DeleteSecretRequest setResourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } public String getResourceGroupId() { return this.resourceGroupId; } public DeleteSecretRequest setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; return this; } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public DeleteSecretRequest setResourceOwnerId(Long resourceOwnerId) { this.resourceOwnerId = resourceOwnerId; return this; } public Long getResourceOwnerId() { return this.resourceOwnerId; } public DeleteSecretRequest setSecretArn(String secretArn) { this.secretArn = secretArn; return this; } public String getSecretArn() { return this.secretArn; } public DeleteSecretRequest setSecretName(String secretName) { this.secretName = secretName; return this; } public String getSecretName() { return this.secretName; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy