Interface ListClusterOperationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListClusterOperationsResponse.Builder,
,ListClusterOperationsResponse> KafkaResponse.Builder
,SdkBuilder<ListClusterOperationsResponse.Builder,
,ListClusterOperationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListClusterOperationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionclusterOperationInfoList
(Collection<ClusterOperationInfo> clusterOperationInfoList) An array of cluster operation information objects.clusterOperationInfoList
(Consumer<ClusterOperationInfo.Builder>... clusterOperationInfoList) An array of cluster operation information objects.clusterOperationInfoList
(ClusterOperationInfo... clusterOperationInfoList) An array of cluster operation information objects.If the response of ListClusterOperations is truncated, it returns a NextToken in the response.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
clusterOperationInfoList
ListClusterOperationsResponse.Builder clusterOperationInfoList(Collection<ClusterOperationInfo> clusterOperationInfoList) An array of cluster operation information objects.
- Parameters:
clusterOperationInfoList
-An array of cluster operation information objects.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterOperationInfoList
ListClusterOperationsResponse.Builder clusterOperationInfoList(ClusterOperationInfo... clusterOperationInfoList) An array of cluster operation information objects.
- Parameters:
clusterOperationInfoList
-An array of cluster operation information objects.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterOperationInfoList
ListClusterOperationsResponse.Builder clusterOperationInfoList(Consumer<ClusterOperationInfo.Builder>... clusterOperationInfoList) An array of cluster operation information objects.
This is a convenience method that creates an instance of theClusterOperationInfo.Builder
avoiding the need to create one manually viaClusterOperationInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclusterOperationInfoList(List<ClusterOperationInfo>)
.- Parameters:
clusterOperationInfoList
- a consumer that will call methods onClusterOperationInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response of ListClusterOperations is truncated, it returns a NextToken in the response. This Nexttoken should be sent in the subsequent request to ListClusterOperations.
- Parameters:
nextToken
-If the response of ListClusterOperations is truncated, it returns a NextToken in the response. This Nexttoken should be sent in the subsequent request to ListClusterOperations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-