Interface DescribedHostKey.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DescribedHostKey.Builder,
,DescribedHostKey> SdkBuilder<DescribedHostKey.Builder,
,DescribedHostKey> SdkPojo
- Enclosing class:
DescribedHostKey
-
Method Summary
Modifier and TypeMethodDescriptionThe unique Amazon Resource Name (ARN) for the host key.dateImported
(Instant dateImported) The date on which the host key was added to the server.description
(String description) The text description for this host key.hostKeyFingerprint
(String hostKeyFingerprint) The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.A unique identifier for the host key.tags
(Collection<Tag> tags) Key-value pairs that can be used to group and search for host keys.tags
(Consumer<Tag.Builder>... tags) Key-value pairs that can be used to group and search for host keys.Key-value pairs that can be used to group and search for host keys.The encryption algorithm that is used for the host key.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The unique Amazon Resource Name (ARN) for the host key.
- Parameters:
arn
- The unique Amazon Resource Name (ARN) for the host key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostKeyId
A unique identifier for the host key.
- Parameters:
hostKeyId
- A unique identifier for the host key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostKeyFingerprint
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
- Parameters:
hostKeyFingerprint
- The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The text description for this host key.
- Parameters:
description
- The text description for this host key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Parameters:
type
- The encryption algorithm that is used for the host key. TheType
parameter is specified by using one of the following values:-
ssh-rsa
-
ssh-ed25519
-
ecdsa-sha2-nistp256
-
ecdsa-sha2-nistp384
-
ecdsa-sha2-nistp521
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
dateImported
The date on which the host key was added to the server.
- Parameters:
dateImported
- The date on which the host key was added to the server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs that can be used to group and search for host keys.
- Parameters:
tags
- Key-value pairs that can be used to group and search for host keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs that can be used to group and search for host keys.
- Parameters:
tags
- Key-value pairs that can be used to group and search for host keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-