public static interface ListConnectionsResponse.Builder extends CodeStarConnectionsResponse.Builder, SdkPojo, CopyableBuilder<ListConnectionsResponse.Builder,ListConnectionsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListConnectionsResponse.Builder |
connections(Collection<Connection> connections)
A list of connections and the details for each connection, such as status, owner, and provider type.
|
ListConnectionsResponse.Builder |
connections(Connection... connections)
A list of connections and the details for each connection, such as status, owner, and provider type.
|
ListConnectionsResponse.Builder |
connections(Consumer<Connection.Builder>... connections)
A list of connections and the details for each connection, such as status, owner, and provider type.
|
ListConnectionsResponse.Builder |
nextToken(String nextToken)
A token that can be used in the next
ListConnections call. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListConnectionsResponse.Builder connections(Collection<Connection> connections)
A list of connections and the details for each connection, such as status, owner, and provider type.
connections - A list of connections and the details for each connection, such as status, owner, and provider type.ListConnectionsResponse.Builder connections(Connection... connections)
A list of connections and the details for each connection, such as status, owner, and provider type.
connections - A list of connections and the details for each connection, such as status, owner, and provider type.ListConnectionsResponse.Builder connections(Consumer<Connection.Builder>... 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 theConnection.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.
connections - a consumer that will call methods on
Connection.Builder#connections(java.util.Collection) ListConnectionsResponse.Builder nextToken(String 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.
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.Copyright © 2023. All rights reserved.