Interface ListedHostKey.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ListedHostKey.Builder,ListedHostKey>,SdkBuilder<ListedHostKey.Builder,ListedHostKey>,SdkPojo
- Enclosing class:
- ListedHostKey
public static interface ListedHostKey.Builder extends SdkPojo, CopyableBuilder<ListedHostKey.Builder,ListedHostKey>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListedHostKey.Builderarn(String arn)The unique Amazon Resource Name (ARN) of the host key.ListedHostKey.BuilderdateImported(Instant dateImported)The date on which the host key was added to the server.ListedHostKey.Builderdescription(String description)The current description for the host key.ListedHostKey.Builderfingerprint(String fingerprint)The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.ListedHostKey.BuilderhostKeyId(String hostKeyId)A unique identifier for the host key.ListedHostKey.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
ListedHostKey.Builder arn(String arn)
The unique Amazon Resource Name (ARN) of the host key.
- Parameters:
arn- The unique Amazon Resource Name (ARN) of the host key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostKeyId
ListedHostKey.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.
-
fingerprint
ListedHostKey.Builder fingerprint(String fingerprint)
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
- Parameters:
fingerprint- 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
ListedHostKey.Builder description(String description)
The current description for the host key. You can change it by calling the
UpdateHostKeyoperation and providing a new description.- Parameters:
description- The current description for the host key. You can change it by calling theUpdateHostKeyoperation and providing a new description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
ListedHostKey.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
ListedHostKey.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.
-
-