public static interface ImportHostKeyRequest.Builder extends TransferRequest.Builder, SdkPojo, CopyableBuilder<ImportHostKeyRequest.Builder,ImportHostKeyRequest>
| Modifier and Type | Method and Description |
|---|---|
ImportHostKeyRequest.Builder |
description(String description)
The text description that identifies this host key.
|
ImportHostKeyRequest.Builder |
hostKeyBody(String hostKeyBody)
The private key portion of an SSH key pair.
|
ImportHostKeyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ImportHostKeyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ImportHostKeyRequest.Builder |
serverId(String serverId)
The identifier of the server that contains the host key that you are importing.
|
ImportHostKeyRequest.Builder |
tags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for host keys.
|
ImportHostKeyRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Key-value pairs that can be used to group and search for host keys.
|
ImportHostKeyRequest.Builder |
tags(Tag... tags)
Key-value pairs that can be used to group and search for host keys.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildImportHostKeyRequest.Builder serverId(String serverId)
The identifier of the server that contains the host key that you are importing.
serverId - The identifier of the server that contains the host key that you are importing.ImportHostKeyRequest.Builder hostKeyBody(String hostKeyBody)
The private key portion of an SSH key pair.
Transfer Family accepts RSA, ECDSA, and ED25519 keys.
hostKeyBody - The private key portion of an SSH key pair.
Transfer Family accepts RSA, ECDSA, and ED25519 keys.
ImportHostKeyRequest.Builder description(String description)
The text description that identifies this host key.
description - The text description that identifies this host key.ImportHostKeyRequest.Builder tags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for host keys.
tags - Key-value pairs that can be used to group and search for host keys.ImportHostKeyRequest.Builder tags(Tag... tags)
Key-value pairs that can be used to group and search for host keys.
tags - Key-value pairs that can be used to group and search for host keys.ImportHostKeyRequest.Builder tags(Consumer<Tag.Builder>... tags)
Key-value pairs that can be used to group and search for host keys.
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) ImportHostKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderImportHostKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.