Interface ListHostKeysResponse.Builder

  • Method Details

    • nextToken

      ListHostKeysResponse.Builder nextToken(String nextToken)

      Returns a token that you can use to call ListHostKeys again and receive additional results, if there are any.

      Parameters:
      nextToken - Returns a token that you can use to call ListHostKeys again and receive additional results, if there are any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverId

      Returns the server identifier that contains the listed host keys.

      Parameters:
      serverId - Returns the server identifier that contains the listed host keys.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hostKeys

      Returns an array, where each item contains the details of a host key.

      Parameters:
      hostKeys - Returns an array, where each item contains the details of a host key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hostKeys

      Returns an array, where each item contains the details of a host key.

      Parameters:
      hostKeys - Returns an array, where each item contains the details of a host key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hostKeys

      Returns an array, where each item contains the details of a host key.

      This is a convenience method that creates an instance of the ListedHostKey.Builder avoiding the need to create one manually via ListedHostKey.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to hostKeys(List<ListedHostKey>).

      Parameters:
      hostKeys - a consumer that will call methods on ListedHostKey.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: