public static interface DescribeLagsResponse.Builder extends DirectConnectResponse.Builder, CopyableBuilder<DescribeLagsResponse.Builder,DescribeLagsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeLagsResponse.Builder |
lags(Collection<Lag> lags)
A list of LAGs.
|
DescribeLagsResponse.Builder |
lags(Consumer<Lag.Builder>... lags)
A list of LAGs.
|
DescribeLagsResponse.Builder |
lags(Lag... lags)
A list of LAGs.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeLagsResponse.Builder lags(Collection<Lag> lags)
A list of LAGs.
lags
- A list of LAGs.DescribeLagsResponse.Builder lags(Lag... lags)
A list of LAGs.
lags
- A list of LAGs.DescribeLagsResponse.Builder lags(Consumer<Lag.Builder>... lags)
A list of LAGs.
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 #lags(List)
.lags
- a consumer that will call methods on List.Builder
#lags(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.