public class CreateKeyPairRequest extends AbstractModel
Constructor and Description |
---|
CreateKeyPairRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getKeyName()
Get Name of the key pair, which can contain numbers, letters, and underscores, with a maximum length of 25 characters.
|
Long |
getProjectId()
Get The ID of the project to which the new key pair belongs.
|
void |
setKeyName(String KeyName)
Set Name of the key pair, which can contain numbers, letters, and underscores, with a maximum length of 25 characters.
|
void |
setProjectId(Long ProjectId)
Set The ID of the project to which the new key pair belongs.
|
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 String getKeyName()
public void setKeyName(String KeyName)
KeyName
- Name of the key pair, which can contain numbers, letters, and underscores, with a maximum length of 25 characters.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- The ID of the project to which the new key pair belongs.
You can query the project IDs in two ways:
Copyright © 2020. All rights reserved.