Interface ListNetworksResponse.Builder

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

  • Method Details

    • networks

      An array of NetworkSummary objects that contain configuration properties for each network.

      Parameters:
      networks - An array of NetworkSummary objects that contain configuration properties for each network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networks

      An array of NetworkSummary objects that contain configuration properties for each network.

      Parameters:
      networks - An array of NetworkSummary objects that contain configuration properties for each network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networks

      An array of NetworkSummary objects that contain configuration properties for each network.

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

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

      Parameters:
      networks - a consumer that will call methods on NetworkSummary.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 pagination token that indicates the next set of results to retrieve.

      Parameters:
      nextToken - The pagination token that indicates the next set of results to retrieve.
      Returns:
      Returns a reference to this object so that method calls can be chained together.