public static interface ListClustersResponse.Builder extends EmrResponse.Builder, SdkPojo, CopyableBuilder<ListClustersResponse.Builder,ListClustersResponse>
Modifier and Type | Method and Description |
---|---|
ListClustersResponse.Builder |
clusters(ClusterSummary... clusters)
The list of clusters for the account based on the given filters.
|
ListClustersResponse.Builder |
clusters(Collection<ClusterSummary> clusters)
The list of clusters for the account based on the given filters.
|
ListClustersResponse.Builder |
clusters(Consumer<ClusterSummary.Builder>... clusters)
The list of clusters for the account based on the given filters.
|
ListClustersResponse.Builder |
marker(String marker)
The pagination token that indicates the next set of results to retrieve.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListClustersResponse.Builder clusters(Collection<ClusterSummary> clusters)
The list of clusters for the account based on the given filters.
clusters
- The list of clusters for the account based on the given filters.ListClustersResponse.Builder clusters(ClusterSummary... clusters)
The list of clusters for the account based on the given filters.
clusters
- The list of clusters for the account based on the given filters.ListClustersResponse.Builder clusters(Consumer<ClusterSummary.Builder>... clusters)
The list of clusters for the account based on the given filters.
This is a convenience method 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 #clusters(List)
.clusters
- a consumer that will call methods on List.Builder
#clusters(List)
ListClustersResponse.Builder marker(String marker)
The pagination token that indicates the next set of results to retrieve.
marker
- The pagination token that indicates the next set of results to retrieve.Copyright © 2022. All rights reserved.