Interface ListRelaysResponse.Builder

  • Method Details

    • nextToken

      ListRelaysResponse.Builder nextToken(String nextToken)

      If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

      Parameters:
      nextToken - If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relays

      The list of returned relays.

      Parameters:
      relays - The list of returned relays.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relays

      ListRelaysResponse.Builder relays(Relay... relays)

      The list of returned relays.

      Parameters:
      relays - The list of returned relays.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relays

      The list of returned relays.

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

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

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