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
copyMethods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaResponse.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
-
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.Builderavoiding the need to create one manually viaNodeInfo.builder().When the
Consumercompletes,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:
-