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 New key pair description.
|
String |
getKeyId()
Get Key pair ID in the format of `skey-xxxxxxxx`.
|
String |
getKeyName()
Get New key pair name, which can contain numbers, letters, and underscores, with a maximum length of 25 characters.
|
void |
setDescription(String Description)
Set New key pair description.
|
void |
setKeyId(String KeyId)
Set Key pair ID in the format of `skey-xxxxxxxx`.
|
void |
setKeyName(String KeyName)
Set New key pair name, which can contain numbers, letters, and underscores, with a maximum length of 25 characters.
|
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
- Key pair ID in the format of `skey-xxxxxxxx`. public String getKeyName()
public void setKeyName(String KeyName)
KeyName
- New key pair name, which can contain numbers, letters, and underscores, with a maximum length of 25 characters.public String getDescription()
public void setDescription(String Description)
Description
- New key pair description. You can specify any name you like, but its length cannot exceed 60 characters.Copyright © 2023. All rights reserved.