public static interface CreateKeyPairResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateKeyPairResponse.Builder,CreateKeyPairResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateKeyPairResponse.Builder |
keyFingerprint(String keyFingerprint)
The SHA-1 digest of the DER encoded private key.
|
CreateKeyPairResponse.Builder |
keyMaterial(String keyMaterial)
An unencrypted PEM encoded RSA 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)
The SHA-1 digest of the DER encoded private key.
keyFingerprint - The SHA-1 digest of the DER encoded private key.CreateKeyPairResponse.Builder keyMaterial(String keyMaterial)
An unencrypted PEM encoded RSA private key.
keyMaterial - An unencrypted PEM encoded RSA 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 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.