public class ImportKeyPairRequest extends AbstractModel
| Constructor and 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getKeyName()Get Key pair name, which can contain up to 25 digits, letters, and underscores. | 
| String | getPublicKey()Get Public key content of the key pair, which is in the OpenSSH RSA format. | 
| void | setKeyName(String KeyName)Set Key pair name, which can contain up to 25 digits, letters, and underscores. | 
| void | setPublicKey(String PublicKey)Set Public key content of the key pair, which is in the OpenSSH RSA format. | 
| 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, toJsonStringpublic ImportKeyPairRequest()
public ImportKeyPairRequest(ImportKeyPairRequest source)
public String getKeyName()
public void setKeyName(String KeyName)
KeyName - Key pair name, which can contain up to 25 digits, letters, and underscores.public String getPublicKey()
public void setPublicKey(String PublicKey)
PublicKey - Public key content of the key pair, which is in the OpenSSH RSA format.Copyright © 2022. All rights reserved.