Interface ListBridgesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBridgesResponse.Builder,
,ListBridgesResponse> MediaConnectResponse.Builder
,SdkBuilder<ListBridgesResponse.Builder,
,ListBridgesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBridgesResponse
-
Method Summary
Modifier and TypeMethodDescriptionbridges
(Collection<ListedBridge> bridges) A list of bridge summaries.bridges
(Consumer<ListedBridge.Builder>... bridges) A list of bridge summaries.bridges
(ListedBridge... bridges) A list of bridge summaries.The token that identifies the batch of results that you want to see.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
bridges
A list of bridge summaries.
- Parameters:
bridges
- A list of bridge summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bridges
A list of bridge summaries.
- Parameters:
bridges
- A list of bridge summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bridges
A list of bridge summaries.
This is a convenience method that creates an instance of theListedBridge.Builder
avoiding the need to create one manually viaListedBridge.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobridges(List<ListedBridge>)
.- Parameters:
bridges
- a consumer that will call methods onListedBridge.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token that identifies the batch of results that you want to see.
For example, you submit a
ListBridges
request withMaxResults
set at 5. The service returns the first batch of results (up to 5) and aNextToken
value. To see the next batch of results, you can submit theListBridges
request a second time and specify theNextToken
value.- Parameters:
nextToken
- The token that identifies the batch of results that you want to see.For example, you submit a
ListBridges
request withMaxResults
set at 5. The service returns the first batch of results (up to 5) and aNextToken
value. To see the next batch of results, you can submit theListBridges
request a second time and specify theNextToken
value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-