public static interface ListPeeringsResponse.Builder extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<ListPeeringsResponse.Builder,ListPeeringsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListPeeringsResponse.Builder |
nextToken(String nextToken)
The token for the next page of results.
|
ListPeeringsResponse.Builder |
peerings(Collection<Peering> peerings)
Lists the transit gateway peerings for the
ListPeerings request. |
ListPeeringsResponse.Builder |
peerings(Consumer<Peering.Builder>... peerings)
Lists the transit gateway peerings for the
ListPeerings request. |
ListPeeringsResponse.Builder |
peerings(Peering... peerings)
Lists the transit gateway peerings for the
ListPeerings request. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListPeeringsResponse.Builder peerings(Collection<Peering> peerings)
Lists the transit gateway peerings for the ListPeerings request.
peerings - Lists the transit gateway peerings for the ListPeerings request.ListPeeringsResponse.Builder peerings(Peering... peerings)
Lists the transit gateway peerings for the ListPeerings request.
peerings - Lists the transit gateway peerings for the ListPeerings request.ListPeeringsResponse.Builder peerings(Consumer<Peering.Builder>... peerings)
Lists the transit gateway peerings for the ListPeerings request.
Peering.Builder avoiding the need to create one
manually via Peering.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #peerings(List.
peerings - a consumer that will call methods on
Peering.Builder#peerings(java.util.Collection) ListPeeringsResponse.Builder nextToken(String nextToken)
The token for the next page of results.
nextToken - The token for the next page of results.Copyright © 2023. All rights reserved.