Class EncryptionKey
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.postgres.v20170312.models.EncryptionKey
-
public class EncryptionKey extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description EncryptionKey()
EncryptionKey(EncryptionKey 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
getCreateTime()
Get DEK密钥创建时间。 注意:此字段可能返回 null,表示取不到有效值。String
getDEKCipherTextBlob()
Get 实例加密密钥DEK的密文。 注意:此字段可能返回 null,表示取不到有效值。Long
getIsEnabled()
Get 密钥是否启用,1-启用, 0-未启用。 注意:此字段可能返回 null,表示取不到有效值。String
getKeyAlias()
Get KMS实例加密Key的别名。 注意:此字段可能返回 null,表示取不到有效值。String
getKeyId()
Get KMS实例加密的KeyId。 注意:此字段可能返回 null,表示取不到有效值。String
getKeyRegion()
Get KMS密钥所在地域。 注意:此字段可能返回 null,表示取不到有效值。void
setCreateTime(String CreateTime)
Set DEK密钥创建时间。 注意:此字段可能返回 null,表示取不到有效值。void
setDEKCipherTextBlob(String DEKCipherTextBlob)
Set 实例加密密钥DEK的密文。 注意:此字段可能返回 null,表示取不到有效值。void
setIsEnabled(Long IsEnabled)
Set 密钥是否启用,1-启用, 0-未启用。 注意:此字段可能返回 null,表示取不到有效值。void
setKeyAlias(String KeyAlias)
Set KMS实例加密Key的别名。 注意:此字段可能返回 null,表示取不到有效值。void
setKeyId(String KeyId)
Set KMS实例加密的KeyId。 注意:此字段可能返回 null,表示取不到有效值。void
setKeyRegion(String KeyRegion)
Set KMS密钥所在地域。 注意:此字段可能返回 null,表示取不到有效值。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
-
EncryptionKey
public EncryptionKey()
-
EncryptionKey
public EncryptionKey(EncryptionKey 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
-
getKeyId
public String getKeyId()
Get KMS实例加密的KeyId。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- KeyId KMS实例加密的KeyId。 注意:此字段可能返回 null,表示取不到有效值。
-
setKeyId
public void setKeyId(String KeyId)
Set KMS实例加密的KeyId。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
KeyId
- KMS实例加密的KeyId。 注意:此字段可能返回 null,表示取不到有效值。
-
getKeyAlias
public String getKeyAlias()
Get KMS实例加密Key的别名。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- KeyAlias KMS实例加密Key的别名。 注意:此字段可能返回 null,表示取不到有效值。
-
setKeyAlias
public void setKeyAlias(String KeyAlias)
Set KMS实例加密Key的别名。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
KeyAlias
- KMS实例加密Key的别名。 注意:此字段可能返回 null,表示取不到有效值。
-
getDEKCipherTextBlob
public String getDEKCipherTextBlob()
Get 实例加密密钥DEK的密文。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- DEKCipherTextBlob 实例加密密钥DEK的密文。 注意:此字段可能返回 null,表示取不到有效值。
-
setDEKCipherTextBlob
public void setDEKCipherTextBlob(String DEKCipherTextBlob)
Set 实例加密密钥DEK的密文。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
DEKCipherTextBlob
- 实例加密密钥DEK的密文。 注意:此字段可能返回 null,表示取不到有效值。
-
getIsEnabled
public Long getIsEnabled()
Get 密钥是否启用,1-启用, 0-未启用。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- IsEnabled 密钥是否启用,1-启用, 0-未启用。 注意:此字段可能返回 null,表示取不到有效值。
-
setIsEnabled
public void setIsEnabled(Long IsEnabled)
Set 密钥是否启用,1-启用, 0-未启用。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
IsEnabled
- 密钥是否启用,1-启用, 0-未启用。 注意:此字段可能返回 null,表示取不到有效值。
-
getKeyRegion
public String getKeyRegion()
Get KMS密钥所在地域。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- KeyRegion KMS密钥所在地域。 注意:此字段可能返回 null,表示取不到有效值。
-
setKeyRegion
public void setKeyRegion(String KeyRegion)
Set KMS密钥所在地域。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
KeyRegion
- KMS密钥所在地域。 注意:此字段可能返回 null,表示取不到有效值。
-
getCreateTime
public String getCreateTime()
Get DEK密钥创建时间。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CreateTime DEK密钥创建时间。 注意:此字段可能返回 null,表示取不到有效值。
-
setCreateTime
public void setCreateTime(String CreateTime)
Set DEK密钥创建时间。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CreateTime
- DEK密钥创建时间。 注意:此字段可能返回 null,表示取不到有效值。
-
-