public class ModifyKeyPairAttributeRequest extends AbstractModel
Constructor and Description |
---|
ModifyKeyPairAttributeRequest() |
ModifyKeyPairAttributeRequest(ModifyKeyPairAttributeRequest 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 |
getDescription()
Get 修改后的密钥对描述信息。可任意命名,但不得超过60个字符。
|
String |
getKeyId()
Get 密钥对ID,密钥对ID形如:`skey-xxxxxxxx`。
可以通过以下方式获取可用的密钥 ID: 通过登录[控制台](https://console.cloud.tencent.com/cvm/sshkey)查询密钥 ID。 通过调用接口 [DescribeKeyPairs](https://cloud.tencent.com/document/api/213/9403) ,取返回信息中的 `KeyId` 获取密钥对 ID。 |
String |
getKeyName()
Get 修改后的密钥对名称,可由数字,字母和下划线组成,长度不超过25个字符。
|
void |
setDescription(String Description)
Set 修改后的密钥对描述信息。可任意命名,但不得超过60个字符。
|
void |
setKeyId(String KeyId)
Set 密钥对ID,密钥对ID形如:`skey-xxxxxxxx`。
可以通过以下方式获取可用的密钥 ID: 通过登录[控制台](https://console.cloud.tencent.com/cvm/sshkey)查询密钥 ID。 通过调用接口 [DescribeKeyPairs](https://cloud.tencent.com/document/api/213/9403) ,取返回信息中的 `KeyId` 获取密钥对 ID。 |
void |
setKeyName(String KeyName)
Set 修改后的密钥对名称,可由数字,字母和下划线组成,长度不超过25个字符。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ModifyKeyPairAttributeRequest()
public ModifyKeyPairAttributeRequest(ModifyKeyPairAttributeRequest source)
public String getKeyId()
public void setKeyId(String KeyId)
KeyId
- 密钥对ID,密钥对ID形如:`skey-xxxxxxxx`。public String getKeyName()
public void setKeyName(String KeyName)
KeyName
- 修改后的密钥对名称,可由数字,字母和下划线组成,长度不超过25个字符。public String getDescription()
public void setDescription(String Description)
Description
- 修改后的密钥对描述信息。可任意命名,但不得超过60个字符。Copyright © 2022. All rights reserved.