public static interface DescribeConnectionsOnInterconnectResponse.Builder extends DirectConnectResponse.Builder, CopyableBuilder<DescribeConnectionsOnInterconnectResponse.Builder,DescribeConnectionsOnInterconnectResponse>
Modifier and Type | Method and Description |
---|---|
DescribeConnectionsOnInterconnectResponse.Builder |
connections(Collection<Connection> connections)
A list of connections.
|
DescribeConnectionsOnInterconnectResponse.Builder |
connections(Connection... connections)
A list of connections.
|
DescribeConnectionsOnInterconnectResponse.Builder |
connections(Consumer<Connection.Builder>... connections)
A list of connections.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeConnectionsOnInterconnectResponse.Builder connections(Collection<Connection> connections)
A list of connections.
connections
- A list of connections.DescribeConnectionsOnInterconnectResponse.Builder connections(Connection... connections)
A list of connections.
connections
- A list of connections.DescribeConnectionsOnInterconnectResponse.Builder connections(Consumer<Connection.Builder>... connections)
A list of connections.
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)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.