Interface ListNodesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListNodesResponse.Builder,
,ListNodesResponse> ManagedBlockchainResponse.Builder
,SdkBuilder<ListNodesResponse.Builder,
,ListNodesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListNodesResponse
public static interface ListNodesResponse.Builder
extends ManagedBlockchainResponse.Builder, SdkPojo, CopyableBuilder<ListNodesResponse.Builder,ListNodesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token that indicates the next set of results to retrieve.nodes
(Collection<NodeSummary> nodes) An array ofNodeSummary
objects that contain configuration properties for each node.nodes
(Consumer<NodeSummary.Builder>... nodes) An array ofNodeSummary
objects that contain configuration properties for each node.nodes
(NodeSummary... nodes) An array ofNodeSummary
objects that contain configuration properties for each node.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.managedblockchain.model.ManagedBlockchainResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nodes
An array of
NodeSummary
objects that contain configuration properties for each node.- Parameters:
nodes
- An array ofNodeSummary
objects that contain configuration properties for each node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
An array of
NodeSummary
objects that contain configuration properties for each node.- Parameters:
nodes
- An array ofNodeSummary
objects that contain configuration properties for each node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
An array of
This is a convenience method that creates an instance of theNodeSummary
objects that contain configuration properties for each node.NodeSummary.Builder
avoiding the need to create one manually viaNodeSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodes(List<NodeSummary>)
.- Parameters:
nodes
- a consumer that will call methods onNodeSummary.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.
-