public static interface ImportKeyPairRequest.Builder extends LightsailRequest.Builder, CopyableBuilder<ImportKeyPairRequest.Builder,ImportKeyPairRequest>
Modifier and Type | Method and Description |
---|---|
ImportKeyPairRequest.Builder |
keyPairName(String keyPairName)
The name of the key pair for which you want to import the public key.
|
ImportKeyPairRequest.Builder |
publicKeyBase64(String publicKeyBase64)
A base64-encoded public key of the
ssh-rsa type. |
ImportKeyPairRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
ImportKeyPairRequest.Builder keyPairName(String keyPairName)
The name of the key pair for which you want to import the public key.
keyPairName
- The name of the key pair for which you want to import the public key.ImportKeyPairRequest.Builder publicKeyBase64(String publicKeyBase64)
A base64-encoded public key of the ssh-rsa
type.
publicKeyBase64
- A base64-encoded public key of the ssh-rsa
type.ImportKeyPairRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.