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, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListConnectionsResponse.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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #connections(List)
.connections
- a consumer that will call methods on List.Builder
#connections(List)
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 © 2021 Amazon Web Services, Inc. All Rights Reserved.