Interface DescribedHostKey.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DescribedHostKey.Builder,DescribedHostKey>,SdkBuilder<DescribedHostKey.Builder,DescribedHostKey>,SdkPojo
- Enclosing class:
- DescribedHostKey
public static interface DescribedHostKey.Builder extends SdkPojo, CopyableBuilder<DescribedHostKey.Builder,DescribedHostKey>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribedHostKey.Builderarn(String arn)The unique Amazon Resource Name (ARN) for the host key.DescribedHostKey.BuilderdateImported(Instant dateImported)The date on which the host key was added to the server.DescribedHostKey.Builderdescription(String description)The text description for this host key.DescribedHostKey.BuilderhostKeyFingerprint(String hostKeyFingerprint)The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.DescribedHostKey.BuilderhostKeyId(String hostKeyId)A unique identifier for the host key.DescribedHostKey.Buildertags(Collection<Tag> tags)Key-value pairs that can be used to group and search for host keys.DescribedHostKey.Buildertags(Consumer<Tag.Builder>... tags)Key-value pairs that can be used to group and search for host keys.DescribedHostKey.Buildertags(Tag... tags)Key-value pairs that can be used to group and search for host keys.DescribedHostKey.Buildertype(String type)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
DescribedHostKey.Builder arn(String 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
DescribedHostKey.Builder hostKeyId(String 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
DescribedHostKey.Builder hostKeyFingerprint(String 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
DescribedHostKey.Builder description(String 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
DescribedHostKey.Builder type(String type)
The encryption algorithm that is used for the host key. The
Typeparameter 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. TheTypeparameter 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
DescribedHostKey.Builder dateImported(Instant 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
DescribedHostKey.Builder tags(Collection<Tag> 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
DescribedHostKey.Builder tags(Tag... 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
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
-