public static interface ImportKeyPairResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ImportKeyPairResponse.Builder,ImportKeyPairResponse>
Modifier and Type | Method and Description |
---|---|
ImportKeyPairResponse.Builder |
keyFingerprint(String keyFingerprint)
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
|
ImportKeyPairResponse.Builder |
keyName(String keyName)
The key pair name that you provided.
|
ImportKeyPairResponse.Builder |
keyPairId(String keyPairId)
The ID of the resulting key pair.
|
ImportKeyPairResponse.Builder |
tags(Collection<Tag> tags)
The tags applied to the imported key pair.
|
ImportKeyPairResponse.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags applied to the imported key pair.
|
ImportKeyPairResponse.Builder |
tags(Tag... tags)
The tags applied to the imported key pair.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ImportKeyPairResponse.Builder keyFingerprint(String keyFingerprint)
The MD5 public key fingerprint as specified in section 4 of RFC 4716.
keyFingerprint
- The MD5 public key fingerprint as specified in section 4 of RFC 4716.ImportKeyPairResponse.Builder keyName(String keyName)
The key pair name that you provided.
keyName
- The key pair name that you provided.ImportKeyPairResponse.Builder keyPairId(String keyPairId)
The ID of the resulting key pair.
keyPairId
- The ID of the resulting key pair.ImportKeyPairResponse.Builder tags(Collection<Tag> tags)
The tags applied to the imported key pair.
tags
- The tags applied to the imported key pair.ImportKeyPairResponse.Builder tags(Tag... tags)
The tags applied to the imported key pair.
tags
- The tags applied to the imported key pair.ImportKeyPairResponse.Builder tags(Consumer<Tag.Builder>... tags)
The tags applied to the imported key pair.
This is a convenience method 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 © 2022. All rights reserved.