Interface ListServersResponse.Builder

  • Method Details

    • nextToken

      ListServersResponse.Builder nextToken(String nextToken)

      The token you use to retrieve the next set of results, or null if there are no more results.

      Parameters:
      nextToken - The token you use to retrieve the next set of results, or null if there are no more results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverInfos

      The list of servers with detailed information about each server.

      Parameters:
      serverInfos - The list of servers with detailed information about each server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverInfos

      ListServersResponse.Builder serverInfos(ServerDetail... serverInfos)

      The list of servers with detailed information about each server.

      Parameters:
      serverInfos - The list of servers with detailed information about each server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverInfos

      The list of servers with detailed information about each server.

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

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

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