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 ofNodeSummaryobjects that contain configuration properties for each node.nodes(Consumer<NodeSummary.Builder>... nodes) An array ofNodeSummaryobjects that contain configuration properties for each node.nodes(NodeSummary... nodes) An array ofNodeSummaryobjects that contain configuration properties for each node.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
-
nodes
An array of
NodeSummaryobjects that contain configuration properties for each node.- Parameters:
nodes- An array ofNodeSummaryobjects 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
NodeSummaryobjects that contain configuration properties for each node.- Parameters:
nodes- An array ofNodeSummaryobjects 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 theNodeSummaryobjects that contain configuration properties for each node.NodeSummary.Builderavoiding the need to create one manually viaNodeSummary.builder().When the
Consumercompletes,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.
-