public class CreateKeyPairRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateKeyPairRequest.CreateKeyPairRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
keyPairName
The name of the key pair.
|
Long |
ownerId |
String |
regionId
The ID of the region in which to create the key pair.
|
String |
resourceGroupId
The ID of the enterprise resource group to which the SSH key pair belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<CreateKeyPairRequest.CreateKeyPairRequestTag> |
tag
The tags.
|
构造器和说明 |
---|
CreateKeyPairRequest() |
限定符和类型 | 方法和说明 |
---|---|
static CreateKeyPairRequest |
build(Map<String,?> map) |
String |
getKeyPairName() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getResourceGroupId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
List<CreateKeyPairRequest.CreateKeyPairRequestTag> |
getTag() |
CreateKeyPairRequest |
setKeyPairName(String keyPairName) |
CreateKeyPairRequest |
setOwnerId(Long ownerId) |
CreateKeyPairRequest |
setRegionId(String regionId) |
CreateKeyPairRequest |
setResourceGroupId(String resourceGroupId) |
CreateKeyPairRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
CreateKeyPairRequest |
setResourceOwnerId(Long resourceOwnerId) |
CreateKeyPairRequest |
setTag(List<CreateKeyPairRequest.CreateKeyPairRequestTag> tag) |
@NameInMap(value="KeyPairName") public String keyPairName
The name of the key pair. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (\_), and hyphens (-).
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The ID of the region in which to create the key pair. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the enterprise resource group to which the SSH key pair belongs.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Tag") public List<CreateKeyPairRequest.CreateKeyPairRequestTag> tag
The tags.
public static CreateKeyPairRequest build(Map<String,?> map) throws Exception
Exception
public CreateKeyPairRequest setKeyPairName(String keyPairName)
public String getKeyPairName()
public CreateKeyPairRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateKeyPairRequest setRegionId(String regionId)
public String getRegionId()
public CreateKeyPairRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateKeyPairRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateKeyPairRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateKeyPairRequest setTag(List<CreateKeyPairRequest.CreateKeyPairRequestTag> tag)
public List<CreateKeyPairRequest.CreateKeyPairRequestTag> getTag()
Copyright © 2023. All rights reserved.