public static interface GetConnectionsResponse.Builder extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetConnectionsResponse.Builder,GetConnectionsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetConnectionsResponse.Builder |
connections(Collection<Connection> connections)
Information about the connections.
|
GetConnectionsResponse.Builder |
connections(Connection... connections)
Information about the connections.
|
GetConnectionsResponse.Builder |
connections(Consumer<Connection.Builder>... connections)
Information about the connections.
|
GetConnectionsResponse.Builder |
nextToken(String nextToken)
The token to use for the next page of results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetConnectionsResponse.Builder connections(Collection<Connection> connections)
Information about the connections.
connections - Information about the connections.GetConnectionsResponse.Builder connections(Connection... connections)
Information about the connections.
connections - Information about the connections.GetConnectionsResponse.Builder connections(Consumer<Connection.Builder>... connections)
Information about the connections.
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) GetConnectionsResponse.Builder nextToken(String nextToken)
The token to use for the next page of results.
nextToken - The token to use for the next page of results.Copyright © 2023. All rights reserved.