Interface ListKxClusterNodesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListKxClusterNodesResponse.Builder,,ListKxClusterNodesResponse> FinspaceResponse.Builder,SdkBuilder<ListKxClusterNodesResponse.Builder,,ListKxClusterNodesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListKxClusterNodesResponse
@Mutable
@NotThreadSafe
public static interface ListKxClusterNodesResponse.Builder
extends FinspaceResponse.Builder, SdkPojo, CopyableBuilder<ListKxClusterNodesResponse.Builder,ListKxClusterNodesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that indicates where a results page should begin.nodes(Collection<KxNode> nodes) A list of nodes associated with the cluster.nodes(Consumer<KxNode.Builder>... nodes) A list of nodes associated with the cluster.A list of nodes associated with the cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.finspace.model.FinspaceResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nodes
A list of nodes associated with the cluster.
- Parameters:
nodes- A list of nodes associated with the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
A list of nodes associated with the cluster.
- Parameters:
nodes- A list of nodes associated with the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
A list of nodes associated with the cluster.
This is a convenience method that creates an instance of theKxNode.Builderavoiding the need to create one manually viaKxNode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonodes(List<KxNode>).- Parameters:
nodes- a consumer that will call methods onKxNode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates where a results page should begin.
- Parameters:
nextToken- A token that indicates where a results page should begin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-