public static interface DescribeClusterResponse.Builder extends KafkaResponse.Builder, SdkPojo, CopyableBuilder<DescribeClusterResponse.Builder,DescribeClusterResponse>
Modifier and Type | Method and Description |
---|---|
DescribeClusterResponse.Builder |
clusterInfo(ClusterInfo clusterInfo)
The cluster information.
|
default DescribeClusterResponse.Builder |
clusterInfo(Consumer<ClusterInfo.Builder> clusterInfo)
The cluster information.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeClusterResponse.Builder clusterInfo(ClusterInfo clusterInfo)
The cluster information.
clusterInfo
- The cluster information.default DescribeClusterResponse.Builder clusterInfo(Consumer<ClusterInfo.Builder> clusterInfo)
The cluster information.
This is a convenience that creates an instance of theClusterInfo.Builder
avoiding the need to create
one manually via ClusterInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to clusterInfo(ClusterInfo)
.clusterInfo
- a consumer that will call methods on ClusterInfo.Builder
clusterInfo(ClusterInfo)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.