public static interface KeyPairInfo.Builder extends SdkPojo, CopyableBuilder<KeyPairInfo.Builder,KeyPairInfo>
| Modifier and Type | Method and Description |
|---|---|
KeyPairInfo.Builder |
keyFingerprint(String keyFingerprint)
If you used CreateKeyPair to create the key pair, this is the SHA-1 digest of the DER encoded private
key.
|
KeyPairInfo.Builder |
keyName(String keyName)
The name of the key pair.
|
KeyPairInfo.Builder |
keyPairId(String keyPairId)
The ID of the key pair.
|
KeyPairInfo.Builder |
tags(Collection<Tag> tags)
Any tags applied to the key pair.
|
KeyPairInfo.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags applied to the key pair.
|
KeyPairInfo.Builder |
tags(Tag... tags)
Any tags applied to the key pair.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildKeyPairInfo.Builder keyPairId(String keyPairId)
The ID of the key pair.
keyPairId - The ID of the key pair.KeyPairInfo.Builder keyFingerprint(String keyFingerprint)
If you used CreateKeyPair to create the key pair, this is the SHA-1 digest of the DER encoded private key. If you used ImportKeyPair to provide AWS the public key, this is the MD5 public key fingerprint as specified in section 4 of RFC4716.
keyFingerprint - If you used CreateKeyPair to create the key pair, this is the SHA-1 digest of the DER encoded
private key. If you used ImportKeyPair to provide AWS the public key, this is the MD5 public
key fingerprint as specified in section 4 of RFC4716.KeyPairInfo.Builder keyName(String keyName)
The name of the key pair.
keyName - The name of the key pair.KeyPairInfo.Builder tags(Collection<Tag> tags)
Any tags applied to the key pair.
tags - Any tags applied to the key pair.KeyPairInfo.Builder tags(Tag... tags)
Any tags applied to the key pair.
tags - Any tags applied to the key pair.KeyPairInfo.Builder tags(Consumer<Tag.Builder>... tags)
Any tags applied to the key pair.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) Copyright © 2020. All rights reserved.