public class OpenDBInstanceEncryptionRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| OpenDBInstanceEncryptionRequest() | 
| OpenDBInstanceEncryptionRequest(OpenDBInstanceEncryptionRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getInstanceId()Get 云数据库实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。 | 
| String | getKeyId()Get 用户自定义密钥 ID,CMK 唯一标识符。该值为空时,将使用腾讯云自动生成的密钥 KMS-CDB。 | 
| String | getKeyRegion()Get 用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId 不为空时,该参数必填。 | 
| void | setInstanceId(String InstanceId)Set 云数据库实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。 | 
| void | setKeyId(String KeyId)Set 用户自定义密钥 ID,CMK 唯一标识符。该值为空时,将使用腾讯云自动生成的密钥 KMS-CDB。 | 
| void | setKeyRegion(String KeyRegion)Set 用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId 不为空时,该参数必填。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic OpenDBInstanceEncryptionRequest()
public OpenDBInstanceEncryptionRequest(OpenDBInstanceEncryptionRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - 云数据库实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。public String getKeyId()
public void setKeyId(String KeyId)
KeyId - 用户自定义密钥 ID,CMK 唯一标识符。该值为空时,将使用腾讯云自动生成的密钥 KMS-CDB。public String getKeyRegion()
public void setKeyRegion(String KeyRegion)
KeyRegion - 用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId 不为空时,该参数必填。Copyright © 2025. All rights reserved.