public static interface CreateKeyPairResponse.Builder extends LightsailResponse.Builder, CopyableBuilder<CreateKeyPairResponse.Builder,CreateKeyPairResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateKeyPairResponse.Builder |
keyPair(Consumer<KeyPair.Builder> keyPair)
An array of key-value pairs containing information about the new key pair you just created.
|
CreateKeyPairResponse.Builder |
keyPair(KeyPair keyPair)
An array of key-value pairs containing information about the new key pair you just created.
|
default CreateKeyPairResponse.Builder |
operation(Consumer<Operation.Builder> operation)
An array of key-value pairs containing information about the results of your create key pair request.
|
CreateKeyPairResponse.Builder |
operation(Operation operation)
An array of key-value pairs containing information about the results of your create key pair request.
|
CreateKeyPairResponse.Builder |
privateKeyBase64(String privateKeyBase64)
A base64-encoded RSA private key.
|
CreateKeyPairResponse.Builder |
publicKeyBase64(String publicKeyBase64)
A base64-encoded public key of the
ssh-rsa type. |
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildCreateKeyPairResponse.Builder keyPair(KeyPair keyPair)
An array of key-value pairs containing information about the new key pair you just created.
keyPair - An array of key-value pairs containing information about the new key pair you just created.default CreateKeyPairResponse.Builder keyPair(Consumer<KeyPair.Builder> keyPair)
An array of key-value pairs containing information about the new key pair you just created.
This is a convenience that creates an instance of theKeyPair.Builder avoiding the need to create one
manually via KeyPair.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to keyPair(KeyPair).keyPair - a consumer that will call methods on KeyPair.BuilderkeyPair(KeyPair)CreateKeyPairResponse.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.CreateKeyPairResponse.Builder privateKeyBase64(String privateKeyBase64)
A base64-encoded RSA private key.
privateKeyBase64 - A base64-encoded RSA private key.CreateKeyPairResponse.Builder operation(Operation operation)
An array of key-value pairs containing information about the results of your create key pair request.
operation - An array of key-value pairs containing information about the results of your create key pair request.default CreateKeyPairResponse.Builder operation(Consumer<Operation.Builder> operation)
An array of key-value pairs containing information about the results of your create key pair request.
This is a convenience that creates an instance of theOperation.Builder avoiding the need to create
one manually via Operation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to operation(Operation).operation - a consumer that will call methods on Operation.Builderoperation(Operation)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.