public static interface DescribeClusterV2Response.Builder extends KafkaResponse.Builder, SdkPojo, CopyableBuilder<DescribeClusterV2Response.Builder,DescribeClusterV2Response>
| Modifier and Type | Method and Description |
|---|---|
DescribeClusterV2Response.Builder |
clusterInfo(Cluster clusterInfo)
The cluster information.
|
default DescribeClusterV2Response.Builder |
clusterInfo(Consumer<Cluster.Builder> clusterInfo)
The cluster information.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeClusterV2Response.Builder clusterInfo(Cluster clusterInfo)
The cluster information.
clusterInfo - The cluster information.
default DescribeClusterV2Response.Builder clusterInfo(Consumer<Cluster.Builder> clusterInfo)
The cluster information.
This is a convenience method that creates an instance of theCluster.Builder avoiding the need to
create one manually via Cluster.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to clusterInfo(Cluster).
clusterInfo - a consumer that will call methods on Cluster.BuilderclusterInfo(Cluster)Copyright © 2023. All rights reserved.