public static interface DescribedHostKey.Builder extends SdkPojo, CopyableBuilder<DescribedHostKey.Builder,DescribedHostKey>
| Modifier and Type | Method and Description |
|---|---|
DescribedHostKey.Builder |
arn(String arn)
The unique Amazon Resource Name (ARN) for the host key.
|
DescribedHostKey.Builder |
dateImported(Instant dateImported)
The date on which the host key was added to the server.
|
DescribedHostKey.Builder |
description(String description)
The text description for this host key.
|
DescribedHostKey.Builder |
hostKeyFingerprint(String hostKeyFingerprint)
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
|
DescribedHostKey.Builder |
hostKeyId(String hostKeyId)
A unique identifier for the host key.
|
DescribedHostKey.Builder |
tags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for host keys.
|
DescribedHostKey.Builder |
tags(Consumer<Tag.Builder>... tags)
Key-value pairs that can be used to group and search for host keys.
|
DescribedHostKey.Builder |
tags(Tag... tags)
Key-value pairs that can be used to group and search for host keys.
|
DescribedHostKey.Builder |
type(String type)
The encryption algorithm that is used for the host key.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribedHostKey.Builder arn(String arn)
The unique Amazon Resource Name (ARN) for the host key.
arn - The unique Amazon Resource Name (ARN) for the host key.DescribedHostKey.Builder hostKeyId(String hostKeyId)
A unique identifier for the host key.
hostKeyId - A unique identifier for the host key.DescribedHostKey.Builder hostKeyFingerprint(String hostKeyFingerprint)
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
hostKeyFingerprint - The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.DescribedHostKey.Builder description(String description)
The text description for this host key.
description - The text description for this host key.DescribedHostKey.Builder type(String type)
The encryption algorithm that is used for the host key. The Type parameter is specified by using
one of the following values:
ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
ecdsa-sha2-nistp384
ecdsa-sha2-nistp521
type - The encryption algorithm that is used for the host key. The Type parameter is specified
by using one of the following values:
ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
ecdsa-sha2-nistp384
ecdsa-sha2-nistp521
DescribedHostKey.Builder dateImported(Instant dateImported)
The date on which the host key was added to the server.
dateImported - The date on which the host key was added to the server.DescribedHostKey.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.DescribedHostKey.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.DescribedHostKey.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) Copyright © 2023. All rights reserved.