public static final class ImportKeyPairRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ImportKeyPairRequest |
build() |
ImportKeyPairRequest.Builder |
keyPairName(String keyPairName)
The name of the key pair.
|
ImportKeyPairRequest.Builder |
publicKeyBody(String publicKeyBody)
The public key of the key pair.
|
public ImportKeyPairRequest.Builder keyPairName(String keyPairName)
* The name must be 2 to 128 characters in length. * The name must start with a letter but cannot start with `http://` or `https://`. * The name can contain letters, digits, colons (:), underscores (\_), and hyphens (-). You can specify the name of only one key pair.
public ImportKeyPairRequest.Builder publicKeyBody(String publicKeyBody)
public ImportKeyPairRequest build()
Copyright © 2024. All rights reserved.