public static interface CreateKeyPairResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateKeyPairResponse.Builder,CreateKeyPairResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateKeyPairResponse.Builder |
keyFingerprint(String keyFingerprint)
|
CreateKeyPairResponse.Builder |
keyMaterial(String keyMaterial)
An unencrypted PEM encoded RSA or ED25519 private key.
|
CreateKeyPairResponse.Builder |
keyName(String keyName)
The name of the key pair.
|
CreateKeyPairResponse.Builder |
keyPairId(String keyPairId)
The ID of the key pair.
|
CreateKeyPairResponse.Builder |
tags(Collection<Tag> tags)
Any tags applied to the key pair.
|
CreateKeyPairResponse.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags applied to the key pair.
|
CreateKeyPairResponse.Builder |
tags(Tag... tags)
Any tags applied to the key pair.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateKeyPairResponse.Builder keyFingerprint(String keyFingerprint)
For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key.
For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8.
keyFingerprint - For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key.
For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8.
CreateKeyPairResponse.Builder keyMaterial(String keyMaterial)
An unencrypted PEM encoded RSA or ED25519 private key.
keyMaterial - An unencrypted PEM encoded RSA or ED25519 private key.CreateKeyPairResponse.Builder keyName(String keyName)
The name of the key pair.
keyName - The name of the key pair.CreateKeyPairResponse.Builder keyPairId(String keyPairId)
The ID of the key pair.
keyPairId - The ID of the key pair.CreateKeyPairResponse.Builder tags(Collection<Tag> tags)
Any tags applied to the key pair.
tags - Any tags applied to the key pair.CreateKeyPairResponse.Builder tags(Tag... tags)
Any tags applied to the key pair.
tags - Any tags applied to the key pair.CreateKeyPairResponse.Builder tags(Consumer<Tag.Builder>... tags)
Any tags applied to the key pair.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) Copyright © 2022. All rights reserved.