Interface ListNodesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListNodesResponse.Builder,
,ListNodesResponse> KafkaResponse.Builder
,SdkBuilder<ListNodesResponse.Builder,
,ListNodesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListNodesResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe paginated results marker.nodeInfoList
(Collection<NodeInfo> nodeInfoList) List containing a NodeInfo object.nodeInfoList
(Consumer<NodeInfo.Builder>... nodeInfoList) List containing a NodeInfo object.nodeInfoList
(NodeInfo... nodeInfoList) List containing a NodeInfo object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaResponse.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
-
nextToken
The paginated results marker. When the result of a ListNodes operation is truncated, the call returns NextToken in the response. To get another batch of nodes, provide this token in your next request.
- Parameters:
nextToken
-The paginated results marker. When the result of a ListNodes operation is truncated, the call returns NextToken in the response. To get another batch of nodes, provide this token in your next request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeInfoList
List containing a NodeInfo object.
- Parameters:
nodeInfoList
-List containing a NodeInfo object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeInfoList
List containing a NodeInfo object.
- Parameters:
nodeInfoList
-List containing a NodeInfo object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeInfoList
List containing a NodeInfo object.
This is a convenience method that creates an instance of theNodeInfo.Builder
avoiding the need to create one manually viaNodeInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodeInfoList(List<NodeInfo>)
.- Parameters:
nodeInfoList
- a consumer that will call methods onNodeInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-