public class DataKeyMetadata extends AbstractModel
header, skipSign| Constructor and Description |
|---|
DataKeyMetadata() |
DataKeyMetadata(DataKeyMetadata 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 |
|---|---|
Long |
getCreateTime()
Get 密钥创建时间
|
Long |
getCreatorUin()
Get 创建者
|
String |
getDataKeyId()
Get DataKey的全局唯一标识
|
String |
getDataKeyName()
Get 作为密钥更容易辨识,更容易被人看懂的数据密钥名称
|
Long |
getDeletionDate()
Get 计划删除的时间
|
String |
getDescription()
Get DataKey的描述
|
String |
getHsmClusterId()
Get HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)
|
Long |
getIsSyncReplica()
Get 密钥是否是主副本。0:主本,1:同步副本。
|
String |
getKeyId()
Get CMK的全局唯一标识
|
String |
getKeyState()
Get DataKey的状态, 取值为:Enabled | Disabled | PendingDelete
|
Long |
getNumberOfBytes()
Get 数据密钥的长度,单位字节
|
String |
getOrigin()
Get DataKey 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL
|
String |
getOwner()
Get 数据密钥的创建者,用户创建的为 user,授权各云产品自动创建的为对应的产品名
|
String |
getResourceId()
Get 资源ID,格式:creatorUin/$creatorUin/$dataKeyId
|
String |
getSourceHsmClusterId()
Get 同步的原始集群,如果为空,是公有云公共集群
|
String |
getSourceRegion()
Get 同步的原始地域
|
Long |
getSyncEndTime()
Get 同步的结束时间
|
String |
getSyncMessages()
Get 同步的结果描述
|
Long |
getSyncStartTime()
Get 同步的开始时间
|
Long |
getSyncStatus()
Get 密钥同步的状态,0:未同步,1:同步成功,2:同步失败,3:同步中。
|
void |
setCreateTime(Long CreateTime)
Set 密钥创建时间
|
void |
setCreatorUin(Long CreatorUin)
Set 创建者
|
void |
setDataKeyId(String DataKeyId)
Set DataKey的全局唯一标识
|
void |
setDataKeyName(String DataKeyName)
Set 作为密钥更容易辨识,更容易被人看懂的数据密钥名称
|
void |
setDeletionDate(Long DeletionDate)
Set 计划删除的时间
|
void |
setDescription(String Description)
Set DataKey的描述
|
void |
setHsmClusterId(String HsmClusterId)
Set HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)
|
void |
setIsSyncReplica(Long IsSyncReplica)
Set 密钥是否是主副本。0:主本,1:同步副本。
|
void |
setKeyId(String KeyId)
Set CMK的全局唯一标识
|
void |
setKeyState(String KeyState)
Set DataKey的状态, 取值为:Enabled | Disabled | PendingDelete
|
void |
setNumberOfBytes(Long NumberOfBytes)
Set 数据密钥的长度,单位字节
|
void |
setOrigin(String Origin)
Set DataKey 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL
|
void |
setOwner(String Owner)
Set 数据密钥的创建者,用户创建的为 user,授权各云产品自动创建的为对应的产品名
|
void |
setResourceId(String ResourceId)
Set 资源ID,格式:creatorUin/$creatorUin/$dataKeyId
|
void |
setSourceHsmClusterId(String SourceHsmClusterId)
Set 同步的原始集群,如果为空,是公有云公共集群
|
void |
setSourceRegion(String SourceRegion)
Set 同步的原始地域
|
void |
setSyncEndTime(Long SyncEndTime)
Set 同步的结束时间
|
void |
setSyncMessages(String SyncMessages)
Set 同步的结果描述
|
void |
setSyncStartTime(Long SyncStartTime)
Set 同步的开始时间
|
void |
setSyncStatus(Long SyncStatus)
Set 密钥同步的状态,0:未同步,1:同步成功,2:同步失败,3:同步中。
|
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 DataKeyMetadata()
public DataKeyMetadata(DataKeyMetadata source)
public String getDataKeyId()
public void setDataKeyId(String DataKeyId)
DataKeyId - DataKey的全局唯一标识public String getKeyId()
public void setKeyId(String KeyId)
KeyId - CMK的全局唯一标识public String getDataKeyName()
public void setDataKeyName(String DataKeyName)
DataKeyName - 作为密钥更容易辨识,更容易被人看懂的数据密钥名称public Long getNumberOfBytes()
public void setNumberOfBytes(Long NumberOfBytes)
NumberOfBytes - 数据密钥的长度,单位字节public Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime - 密钥创建时间public String getDescription()
public void setDescription(String Description)
Description - DataKey的描述public String getKeyState()
public void setKeyState(String KeyState)
KeyState - DataKey的状态, 取值为:Enabled | Disabled | PendingDeletepublic Long getCreatorUin()
public void setCreatorUin(Long CreatorUin)
CreatorUin - 创建者public String getOwner()
public void setOwner(String Owner)
Owner - 数据密钥的创建者,用户创建的为 user,授权各云产品自动创建的为对应的产品名public Long getDeletionDate()
public void setDeletionDate(Long DeletionDate)
DeletionDate - 计划删除的时间public String getOrigin()
public void setOrigin(String Origin)
Origin - DataKey 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNALpublic String getHsmClusterId()
public void setHsmClusterId(String HsmClusterId)
HsmClusterId - HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)public String getResourceId()
public void setResourceId(String ResourceId)
ResourceId - 资源ID,格式:creatorUin/$creatorUin/$dataKeyIdpublic Long getIsSyncReplica()
public void setIsSyncReplica(Long IsSyncReplica)
IsSyncReplica - 密钥是否是主副本。0:主本,1:同步副本。public String getSourceRegion()
public void setSourceRegion(String SourceRegion)
SourceRegion - 同步的原始地域public Long getSyncStatus()
public void setSyncStatus(Long SyncStatus)
SyncStatus - 密钥同步的状态,0:未同步,1:同步成功,2:同步失败,3:同步中。public String getSyncMessages()
public void setSyncMessages(String SyncMessages)
SyncMessages - 同步的结果描述public Long getSyncStartTime()
public void setSyncStartTime(Long SyncStartTime)
SyncStartTime - 同步的开始时间public Long getSyncEndTime()
public void setSyncEndTime(Long SyncEndTime)
SyncEndTime - 同步的结束时间public String getSourceHsmClusterId()
public void setSourceHsmClusterId(String SourceHsmClusterId)
SourceHsmClusterId - 同步的原始集群,如果为空,是公有云公共集群Copyright © 2025. All rights reserved.