Class OpenDBInstanceEncryptionRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdb.v20170320.models.OpenDBInstanceEncryptionRequest
-
public class OpenDBInstanceEncryptionRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInstanceId()
Get 云数据库实例 ID。String
getKeyId()
Get 用户自定义密钥ID,CMK唯一标识符。该值为空时,将使用腾讯云自动生成的密钥KMS-CDB。String
getKeyRegion()
Get 用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId不为空时,该参数必填。void
setInstanceId(String InstanceId)
Set 云数据库实例 ID。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.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
OpenDBInstanceEncryptionRequest
public OpenDBInstanceEncryptionRequest()
-
OpenDBInstanceEncryptionRequest
public 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.
-
-
Method Detail
-
getInstanceId
public String getInstanceId()
Get 云数据库实例 ID。- Returns:
- InstanceId 云数据库实例 ID。
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 云数据库实例 ID。- Parameters:
InstanceId
- 云数据库实例 ID。
-
getKeyId
public String getKeyId()
Get 用户自定义密钥ID,CMK唯一标识符。该值为空时,将使用腾讯云自动生成的密钥KMS-CDB。- Returns:
- KeyId 用户自定义密钥ID,CMK唯一标识符。该值为空时,将使用腾讯云自动生成的密钥KMS-CDB。
-
setKeyId
public void setKeyId(String KeyId)
Set 用户自定义密钥ID,CMK唯一标识符。该值为空时,将使用腾讯云自动生成的密钥KMS-CDB。- Parameters:
KeyId
- 用户自定义密钥ID,CMK唯一标识符。该值为空时,将使用腾讯云自动生成的密钥KMS-CDB。
-
getKeyRegion
public String getKeyRegion()
Get 用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId不为空时,该参数必填。- Returns:
- KeyRegion 用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId不为空时,该参数必填。
-
setKeyRegion
public void setKeyRegion(String KeyRegion)
Set 用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId不为空时,该参数必填。- Parameters:
KeyRegion
- 用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId不为空时,该参数必填。
-
-