Interface ListInstanceGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListInstanceGroupsResponse.Builder,ListInstanceGroupsResponse>,EmrResponse.Builder,SdkBuilder<ListInstanceGroupsResponse.Builder,ListInstanceGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListInstanceGroupsResponse
public static interface ListInstanceGroupsResponse.Builder extends EmrResponse.Builder, SdkPojo, CopyableBuilder<ListInstanceGroupsResponse.Builder,ListInstanceGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInstanceGroupsResponse.BuilderinstanceGroups(Collection<InstanceGroup> instanceGroups)The list of instance groups for the cluster and given filters.ListInstanceGroupsResponse.BuilderinstanceGroups(Consumer<InstanceGroup.Builder>... instanceGroups)The list of instance groups for the cluster and given filters.ListInstanceGroupsResponse.BuilderinstanceGroups(InstanceGroup... instanceGroups)The list of instance groups for the cluster and given filters.ListInstanceGroupsResponse.Buildermarker(String marker)The pagination token that indicates the next set of results to retrieve.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.emr.model.EmrResponse.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
-
instanceGroups
ListInstanceGroupsResponse.Builder instanceGroups(Collection<InstanceGroup> instanceGroups)
The list of instance groups for the cluster and given filters.
- Parameters:
instanceGroups- The list of instance groups for the cluster and given filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroups
ListInstanceGroupsResponse.Builder instanceGroups(InstanceGroup... instanceGroups)
The list of instance groups for the cluster and given filters.
- Parameters:
instanceGroups- The list of instance groups for the cluster and given filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroups
ListInstanceGroupsResponse.Builder instanceGroups(Consumer<InstanceGroup.Builder>... instanceGroups)
The list of instance groups for the cluster and given filters.
This is a convenience method that creates an instance of theInstanceGroup.Builderavoiding the need to create one manually viaInstanceGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instanceGroups(List.) - Parameters:
instanceGroups- a consumer that will call methods onInstanceGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#instanceGroups(java.util.Collection)
-
marker
ListInstanceGroupsResponse.Builder marker(String marker)
The pagination token that indicates the next set of results to retrieve.
- Parameters:
marker- The pagination token that indicates the next set of results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-