Interface ListClustersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListClustersResponse.Builder,ListClustersResponse>
,KafkaResponse.Builder
,SdkBuilder<ListClustersResponse.Builder,ListClustersResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListClustersResponse
public static interface ListClustersResponse.Builder extends KafkaResponse.Builder, SdkPojo, CopyableBuilder<ListClustersResponse.Builder,ListClustersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
clusterInfoList(ClusterInfo... clusterInfoList)
Information on each of the MSK clusters in the response.ListClustersResponse.Builder
nextToken(String nextToken)
The paginated results marker.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
clusterInfoList
ListClustersResponse.Builder clusterInfoList(Collection<ClusterInfo> clusterInfoList)
Information on each of the MSK clusters in the response.
- Parameters:
clusterInfoList
-Information on each of the MSK clusters in the response.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterInfoList
ListClustersResponse.Builder clusterInfoList(ClusterInfo... clusterInfoList)
Information on each of the MSK clusters in the response.
- Parameters:
clusterInfoList
-Information on each of the MSK clusters in the response.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterInfoList
ListClustersResponse.Builder clusterInfoList(Consumer<ClusterInfo.Builder>... clusterInfoList)
Information on each of the MSK clusters in the response.
This is a convenience method that creates an instance of theClusterInfo.Builder
avoiding the need to create one manually viaClusterInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#clusterInfoList(List
.) - Parameters:
clusterInfoList
- a consumer that will call methods onClusterInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#clusterInfoList(java.util.Collection
)
-
nextToken
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-