public static interface CreateKeyPairResponse.Builder extends LightsailResponse.Builder, SdkPojo, 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 objects that describe the result of the action, such as the status of the request, the timestamp
of the request, and the resources affected by the request.
|
CreateKeyPairResponse.Builder |
operation(Operation operation)
An array of objects that describe the result of the action, such as the status of the request, the timestamp
of the request, and the resources affected by the 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. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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 method 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 objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
operation - An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.default CreateKeyPairResponse.Builder operation(Consumer<Operation.Builder> operation)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
This is a convenience method 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 © 2022. All rights reserved.