Package | Description |
---|---|
com.amazonaws.services.ec2 |
|
com.amazonaws.services.ec2.model |
Modifier and Type | Method and Description |
---|---|
Future<CreateKeyPairResult> |
AbstractAmazonEC2Async.createKeyPairAsync(CreateKeyPairRequest request,
AsyncHandler<CreateKeyPairRequest,CreateKeyPairResult> asyncHandler) |
Future<CreateKeyPairResult> |
AmazonEC2Async.createKeyPairAsync(CreateKeyPairRequest createKeyPairRequest,
AsyncHandler<CreateKeyPairRequest,CreateKeyPairResult> asyncHandler)
Creates an ED25519 or 2048-bit RSA key pair with the specified name.
|
Future<CreateKeyPairResult> |
AmazonEC2AsyncClient.createKeyPairAsync(CreateKeyPairRequest request,
AsyncHandler<CreateKeyPairRequest,CreateKeyPairResult> asyncHandler) |
Modifier and Type | Method and Description |
---|---|
CreateKeyPairRequest |
CreateKeyPairRequest.clone() |
CreateKeyPairRequest |
CreateKeyPairRequest.withKeyName(String keyName)
A unique name for the key pair.
|
CreateKeyPairRequest |
CreateKeyPairRequest.withKeyType(KeyType keyType)
The type of key pair.
|
CreateKeyPairRequest |
CreateKeyPairRequest.withKeyType(String keyType)
The type of key pair.
|
CreateKeyPairRequest |
CreateKeyPairRequest.withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the new key pair.
|
CreateKeyPairRequest |
CreateKeyPairRequest.withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the new key pair.
|
Modifier and Type | Method and Description |
---|---|
Request<CreateKeyPairRequest> |
CreateKeyPairRequest.getDryRunRequest()
This method is intended for internal use only.
|
Copyright © 2021. All rights reserved.