Interface ListNetworksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNetworksResponse.Builder,,ListNetworksResponse> ManagedBlockchainResponse.Builder,SdkBuilder<ListNetworksResponse.Builder,,ListNetworksResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListNetworksResponse
public static interface ListNetworksResponse.Builder
extends ManagedBlockchainResponse.Builder, SdkPojo, CopyableBuilder<ListNetworksResponse.Builder,ListNetworksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnetworks(Collection<NetworkSummary> networks) An array ofNetworkSummaryobjects that contain configuration properties for each network.networks(Consumer<NetworkSummary.Builder>... networks) An array ofNetworkSummaryobjects that contain configuration properties for each network.networks(NetworkSummary... networks) An array ofNetworkSummaryobjects that contain configuration properties for each network.The pagination token that indicates the next set of results to retrieve.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.managedblockchain.model.ManagedBlockchainResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
networks
An array of
NetworkSummaryobjects that contain configuration properties for each network.- Parameters:
networks- An array ofNetworkSummaryobjects that contain configuration properties for each network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networks
An array of
NetworkSummaryobjects that contain configuration properties for each network.- Parameters:
networks- An array ofNetworkSummaryobjects that contain configuration properties for each network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networks
An array of
This is a convenience method that creates an instance of theNetworkSummaryobjects that contain configuration properties for each network.NetworkSummary.Builderavoiding the need to create one manually viaNetworkSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworks(List<NetworkSummary>).- Parameters:
networks- a consumer that will call methods onNetworkSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token that indicates the next set of results to retrieve.
- Parameters:
nextToken- The pagination token that indicates the next set of results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-