Interface ListConnectionsResponse.Builder

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

public static interface ListConnectionsResponse.Builder extends AppRunnerResponse.Builder, SdkPojo, CopyableBuilder<ListConnectionsResponse.Builder,ListConnectionsResponse>
  • Method Details

    • connectionSummaryList

      ListConnectionsResponse.Builder connectionSummaryList(Collection<ConnectionSummary> connectionSummaryList)

      A list of summary information records for connections. In a paginated request, the request returns up to MaxResults records for each call.

      Parameters:
      connectionSummaryList - A list of summary information records for connections. In a paginated request, the request returns up to MaxResults records for each call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionSummaryList

      ListConnectionsResponse.Builder connectionSummaryList(ConnectionSummary... connectionSummaryList)

      A list of summary information records for connections. In a paginated request, the request returns up to MaxResults records for each call.

      Parameters:
      connectionSummaryList - A list of summary information records for connections. In a paginated request, the request returns up to MaxResults records for each call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionSummaryList

      ListConnectionsResponse.Builder connectionSummaryList(Consumer<ConnectionSummary.Builder>... connectionSummaryList)

      A list of summary information records for connections. In a paginated request, the request returns up to MaxResults records for each call.

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

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

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

      The token that you can pass in a subsequent request to get the next result page. Returned in a paginated request.

      Parameters:
      nextToken - The token that you can pass in a subsequent request to get the next result page. Returned in a paginated request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.