Interface ListTunnelsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListTunnelsResponse.Builder,ListTunnelsResponse>, IoTSecureTunnelingResponse.Builder, SdkBuilder<ListTunnelsResponse.Builder,ListTunnelsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListTunnelsResponse

  • Method Details

    • tunnelSummaries

      ListTunnelsResponse.Builder tunnelSummaries(Collection<TunnelSummary> tunnelSummaries)

      A short description of the tunnels in an Amazon Web Services account.

      Parameters:
      tunnelSummaries - A short description of the tunnels in an Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tunnelSummaries

      ListTunnelsResponse.Builder tunnelSummaries(TunnelSummary... tunnelSummaries)

      A short description of the tunnels in an Amazon Web Services account.

      Parameters:
      tunnelSummaries - A short description of the tunnels in an Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tunnelSummaries

      ListTunnelsResponse.Builder tunnelSummaries(Consumer<TunnelSummary.Builder>... tunnelSummaries)

      A short description of the tunnels in an Amazon Web Services account.

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

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

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

      ListTunnelsResponse.Builder nextToken(String nextToken)

      The token to use to get the next set of results, or null if there are no additional results.

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