Interface ListConnectionsResponse.Builder

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

  • Method Details

    • connections

      A list of connections and the details for each connection, such as status, owner, and provider type.

      Parameters:
      connections - A list of connections and the details for each connection, such as status, owner, and provider type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connections

      ListConnectionsResponse.Builder connections(Connection... connections)

      A list of connections and the details for each connection, such as status, owner, and provider type.

      Parameters:
      connections - A list of connections and the details for each connection, such as status, owner, and provider type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connections

      A list of connections and the details for each connection, such as status, owner, and provider type.

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

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

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

      A token that can be used in the next ListConnections call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.

      Parameters:
      nextToken - A token that can be used in the next ListConnections call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.