Class KeyPair
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ecm.v20190719.models.KeyPair
-
public class KeyPair extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getAssociatedInstanceIds()Get 钥关联的实例ID列表。 注意:此字段可能返回 null,表示取不到有效值。StringgetCreatedTime()Get 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。 注意:此字段可能返回 null,表示取不到有效值。StringgetDescription()Get 密钥对描述信息。 注意:此字段可能返回 null,表示取不到有效值。StringgetKeyId()Get 密钥对的ID,是密钥对的唯一标识。 注意:此字段可能返回 null,表示取不到有效值。StringgetKeyName()Get 密钥对名称。 注意:此字段可能返回 null,表示取不到有效值。StringgetPrivateKey()Get 钥对的纯文本私钥。腾讯云不会保管私钥,请用户自行妥善保存。 注意:此字段可能返回 null,表示取不到有效值。LonggetProjectId()Get 密钥对所属的项目ID。 注意:此字段可能返回 null,表示取不到有效值。StringgetPublicKey()Get 密钥对的纯文本公钥。 注意:此字段可能返回 null,表示取不到有效值。voidsetAssociatedInstanceIds(String[] AssociatedInstanceIds)Set 钥关联的实例ID列表。 注意:此字段可能返回 null,表示取不到有效值。voidsetCreatedTime(String CreatedTime)Set 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。 注意:此字段可能返回 null,表示取不到有效值。voidsetDescription(String Description)Set 密钥对描述信息。 注意:此字段可能返回 null,表示取不到有效值。voidsetKeyId(String KeyId)Set 密钥对的ID,是密钥对的唯一标识。 注意:此字段可能返回 null,表示取不到有效值。voidsetKeyName(String KeyName)Set 密钥对名称。 注意:此字段可能返回 null,表示取不到有效值。voidsetPrivateKey(String PrivateKey)Set 钥对的纯文本私钥。腾讯云不会保管私钥,请用户自行妥善保存。 注意:此字段可能返回 null,表示取不到有效值。voidsetProjectId(Long ProjectId)Set 密钥对所属的项目ID。 注意:此字段可能返回 null,表示取不到有效值。voidsetPublicKey(String PublicKey)Set 密钥对的纯文本公钥。 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(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
-
KeyPair
public KeyPair()
-
KeyPair
public KeyPair(KeyPair 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 密钥对的ID,是密钥对的唯一标识。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- KeyId 密钥对的ID,是密钥对的唯一标识。 注意:此字段可能返回 null,表示取不到有效值。
-
setKeyId
public void setKeyId(String KeyId)
Set 密钥对的ID,是密钥对的唯一标识。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
KeyId- 密钥对的ID,是密钥对的唯一标识。 注意:此字段可能返回 null,表示取不到有效值。
-
getKeyName
public String getKeyName()
Get 密钥对名称。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- KeyName 密钥对名称。 注意:此字段可能返回 null,表示取不到有效值。
-
setKeyName
public void setKeyName(String KeyName)
Set 密钥对名称。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
KeyName- 密钥对名称。 注意:此字段可能返回 null,表示取不到有效值。
-
getProjectId
public Long getProjectId()
Get 密钥对所属的项目ID。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ProjectId 密钥对所属的项目ID。 注意:此字段可能返回 null,表示取不到有效值。
-
setProjectId
public void setProjectId(Long ProjectId)
Set 密钥对所属的项目ID。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ProjectId- 密钥对所属的项目ID。 注意:此字段可能返回 null,表示取不到有效值。
-
getDescription
public String getDescription()
Get 密钥对描述信息。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Description 密钥对描述信息。 注意:此字段可能返回 null,表示取不到有效值。
-
setDescription
public void setDescription(String Description)
Set 密钥对描述信息。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Description- 密钥对描述信息。 注意:此字段可能返回 null,表示取不到有效值。
-
getPublicKey
public String getPublicKey()
Get 密钥对的纯文本公钥。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- PublicKey 密钥对的纯文本公钥。 注意:此字段可能返回 null,表示取不到有效值。
-
setPublicKey
public void setPublicKey(String PublicKey)
Set 密钥对的纯文本公钥。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
PublicKey- 密钥对的纯文本公钥。 注意:此字段可能返回 null,表示取不到有效值。
-
getPrivateKey
public String getPrivateKey()
Get 钥对的纯文本私钥。腾讯云不会保管私钥,请用户自行妥善保存。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- PrivateKey 钥对的纯文本私钥。腾讯云不会保管私钥,请用户自行妥善保存。 注意:此字段可能返回 null,表示取不到有效值。
-
setPrivateKey
public void setPrivateKey(String PrivateKey)
Set 钥对的纯文本私钥。腾讯云不会保管私钥,请用户自行妥善保存。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
PrivateKey- 钥对的纯文本私钥。腾讯云不会保管私钥,请用户自行妥善保存。 注意:此字段可能返回 null,表示取不到有效值。
-
getAssociatedInstanceIds
public String[] getAssociatedInstanceIds()
Get 钥关联的实例ID列表。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AssociatedInstanceIds 钥关联的实例ID列表。 注意:此字段可能返回 null,表示取不到有效值。
-
setAssociatedInstanceIds
public void setAssociatedInstanceIds(String[] AssociatedInstanceIds)
Set 钥关联的实例ID列表。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AssociatedInstanceIds- 钥关联的实例ID列表。 注意:此字段可能返回 null,表示取不到有效值。
-
getCreatedTime
public String getCreatedTime()
Get 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CreatedTime 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。 注意:此字段可能返回 null,表示取不到有效值。
-
setCreatedTime
public void setCreatedTime(String CreatedTime)
Set 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CreatedTime- 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。 注意:此字段可能返回 null,表示取不到有效值。
-
-