Interface ListClusterOperationsV2Response.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListClusterOperationsV2Response.Builder,,ListClusterOperationsV2Response> KafkaResponse.Builder,SdkBuilder<ListClusterOperationsV2Response.Builder,,ListClusterOperationsV2Response> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListClusterOperationsV2Response
-
Method Summary
Modifier and TypeMethodDescriptionclusterOperationInfoList(Collection<ClusterOperationV2Summary> clusterOperationInfoList) An array of cluster operation information objects.clusterOperationInfoList(Consumer<ClusterOperationV2Summary.Builder>... clusterOperationInfoList) An array of cluster operation information objects.clusterOperationInfoList(ClusterOperationV2Summary... clusterOperationInfoList) An array of cluster operation information objects.If the response of ListClusterOperationsV2 is truncated, it returns a NextToken in the response.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
-
clusterOperationInfoList
ListClusterOperationsV2Response.Builder clusterOperationInfoList(Collection<ClusterOperationV2Summary> 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
ListClusterOperationsV2Response.Builder clusterOperationInfoList(ClusterOperationV2Summary... 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
ListClusterOperationsV2Response.Builder clusterOperationInfoList(Consumer<ClusterOperationV2Summary.Builder>... clusterOperationInfoList) An array of cluster operation information objects.
This is a convenience method that creates an instance of theClusterOperationV2Summary.Builderavoiding the need to create one manually viaClusterOperationV2Summary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclusterOperationInfoList(List<ClusterOperationV2Summary>).- Parameters:
clusterOperationInfoList- a consumer that will call methods onClusterOperationV2Summary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response of ListClusterOperationsV2 is truncated, it returns a NextToken in the response. This NextToken should be sent in the subsequent request to ListClusterOperationsV2.
- Parameters:
nextToken-If the response of ListClusterOperationsV2 is truncated, it returns a NextToken in the response. This NextToken should be sent in the subsequent request to ListClusterOperationsV2.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-