public static interface ListInstanceGroupsResponse.Builder extends EmrResponse.Builder, CopyableBuilder<ListInstanceGroupsResponse.Builder,ListInstanceGroupsResponse>
Modifier and Type | Method and Description |
---|---|
ListInstanceGroupsResponse.Builder |
instanceGroups(Collection<InstanceGroup> instanceGroups)
The list of instance groups for the cluster and given filters.
|
ListInstanceGroupsResponse.Builder |
instanceGroups(Consumer<InstanceGroup.Builder>... instanceGroups)
The list of instance groups for the cluster and given filters.
|
ListInstanceGroupsResponse.Builder |
instanceGroups(InstanceGroup... instanceGroups)
The list of instance groups for the cluster and given filters.
|
ListInstanceGroupsResponse.Builder |
marker(String marker)
The pagination token that indicates the next set of results to retrieve.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListInstanceGroupsResponse.Builder instanceGroups(Collection<InstanceGroup> instanceGroups)
The list of instance groups for the cluster and given filters.
instanceGroups
- The list of instance groups for the cluster and given filters.ListInstanceGroupsResponse.Builder instanceGroups(InstanceGroup... instanceGroups)
The list of instance groups for the cluster and given filters.
instanceGroups
- The list of instance groups for the cluster and given filters.ListInstanceGroupsResponse.Builder instanceGroups(Consumer<InstanceGroup.Builder>... instanceGroups)
The list of instance groups 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 #instanceGroups(List)
.instanceGroups
- a consumer that will call methods on List.Builder
#instanceGroups(List)
ListInstanceGroupsResponse.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 © 2017 Amazon Web Services, Inc. All Rights Reserved.