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 Details

    • 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 UpdateHostKey operation and providing a new description.

      Parameters:
      description - The current description for the host key. You can change it by calling the UpdateHostKey operation and providing a new description.
      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. 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

      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.