public static interface ListClustersResponse.Builder extends KafkaResponse.Builder, SdkPojo, CopyableBuilder<ListClustersResponse.Builder,ListClustersResponse>
Modifier and Type | Method and Description |
---|---|
ListClustersResponse.Builder |
clusterInfoList(ClusterInfo... clusterInfoList)
Information on each of the MSK clusters in the response.
|
ListClustersResponse.Builder |
clusterInfoList(Collection<ClusterInfo> clusterInfoList)
Information on each of the MSK clusters in the response.
|
ListClustersResponse.Builder |
clusterInfoList(Consumer<ClusterInfo.Builder>... clusterInfoList)
Information on each of the MSK clusters in the response.
|
ListClustersResponse.Builder |
nextToken(String nextToken)
The paginated results marker.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListClustersResponse.Builder clusterInfoList(Collection<ClusterInfo> clusterInfoList)
Information on each of the MSK clusters in the response.
clusterInfoList
- Information on each of the MSK clusters in the response.ListClustersResponse.Builder clusterInfoList(ClusterInfo... clusterInfoList)
Information on each of the MSK clusters in the response.
clusterInfoList
- Information on each of the MSK clusters in the response.ListClustersResponse.Builder clusterInfoList(Consumer<ClusterInfo.Builder>... clusterInfoList)
Information on each of the MSK clusters in the response.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #clusterInfoList(List)
.clusterInfoList
- a consumer that will call methods on List.Builder
#clusterInfoList(List)
ListClustersResponse.Builder nextToken(String nextToken)
The paginated results marker. When the result of a ListClusters operation is truncated, the call returns NextToken in the response. To get another batch of clusters, provide this token in your next request.
nextToken
- The paginated results marker. When the result of a ListClusters operation is truncated, the call
returns NextToken in the response. To get another batch of clusters, provide this token in your next
request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.