Class ImportKeyPairRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.lighthouse.v20200324.models.ImportKeyPairRequest
-
public class ImportKeyPairRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ImportKeyPairRequest()
ImportKeyPairRequest(ImportKeyPairRequest 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
getKeyName()
Get 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。String
getPublicKey()
Get 密钥对的公钥内容, OpenSSH RSA 格式。void
setKeyName(String KeyName)
Set 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。void
setPublicKey(String PublicKey)
Set 密钥对的公钥内容, OpenSSH RSA 格式。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
-
ImportKeyPairRequest
public ImportKeyPairRequest()
-
ImportKeyPairRequest
public ImportKeyPairRequest(ImportKeyPairRequest 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
-
getKeyName
public String getKeyName()
Get 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。- Returns:
- KeyName 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。
-
setKeyName
public void setKeyName(String KeyName)
Set 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。- Parameters:
KeyName
- 密钥对名称,可由数字,字母和下划线组成,长度不超过 25 个字符。
-
getPublicKey
public String getPublicKey()
Get 密钥对的公钥内容, OpenSSH RSA 格式。- Returns:
- PublicKey 密钥对的公钥内容, OpenSSH RSA 格式。
-
setPublicKey
public void setPublicKey(String PublicKey)
Set 密钥对的公钥内容, OpenSSH RSA 格式。- Parameters:
PublicKey
- 密钥对的公钥内容, OpenSSH RSA 格式。
-
-