Interface ListNetworksResponse.Builder

  • Method Details

    • networks

      A list of network objects for the Amazon Web Services account.

      Parameters:
      networks - A list of network objects for the Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networks

      ListNetworksResponse.Builder networks(Network... networks)

      A list of network objects for the Amazon Web Services account.

      Parameters:
      networks - A list of network objects for the Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networks

      A list of network objects for the Amazon Web Services account.

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

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

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

      ListNetworksResponse.Builder nextToken(String nextToken)

      The token to use for retrieving the next page of results. If this is not present, there are no more results.

      Parameters:
      nextToken - The token to use for retrieving the next page of results. If this is not present, there are no more results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.