public static interface ListInstancesResponse.Builder extends EmrResponse.Builder, SdkPojo, CopyableBuilder<ListInstancesResponse.Builder,ListInstancesResponse>
Modifier and Type | Method and Description |
---|---|
ListInstancesResponse.Builder |
instances(Collection<Instance> instances)
The list of instances for the cluster and given filters.
|
ListInstancesResponse.Builder |
instances(Consumer<Instance.Builder>... instances)
The list of instances for the cluster and given filters.
|
ListInstancesResponse.Builder |
instances(Instance... instances)
The list of instances for the cluster and given filters.
|
ListInstancesResponse.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
ListInstancesResponse.Builder instances(Collection<Instance> instances)
The list of instances for the cluster and given filters.
instances
- The list of instances for the cluster and given filters.ListInstancesResponse.Builder instances(Instance... instances)
The list of instances for the cluster and given filters.
instances
- The list of instances for the cluster and given filters.ListInstancesResponse.Builder instances(Consumer<Instance.Builder>... instances)
The list of instances for the cluster and given filters.
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 #instances(List)
.instances
- a consumer that will call methods on List.Builder
#instances(List)
ListInstancesResponse.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 © 2021. All rights reserved.