Interface ImportHostKeyRequest.Builder

    • Method Detail

      • serverId

        ImportHostKeyRequest.Builder serverId​(String serverId)

        The identifier of the server that contains the host key that you are importing.

        Parameters:
        serverId - The identifier of the server that contains the host key that you are importing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hostKeyBody

        ImportHostKeyRequest.Builder hostKeyBody​(String hostKeyBody)

        The private key portion of an SSH key pair.

        Transfer Family accepts RSA, ECDSA, and ED25519 keys.

        Parameters:
        hostKeyBody - The private key portion of an SSH key pair.

        Transfer Family accepts RSA, ECDSA, and ED25519 keys.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        ImportHostKeyRequest.Builder description​(String description)

        The text description that identifies this host key.

        Parameters:
        description - The text description that identifies this host key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ImportHostKeyRequest.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

        ImportHostKeyRequest.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

        ImportHostKeyRequest.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 the Tag.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).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)