Interface ListInstanceFleetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListInstanceFleetsResponse.Builder,
,ListInstanceFleetsResponse> EmrResponse.Builder
,SdkBuilder<ListInstanceFleetsResponse.Builder,
,ListInstanceFleetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListInstanceFleetsResponse
public static interface ListInstanceFleetsResponse.Builder
extends EmrResponse.Builder, SdkPojo, CopyableBuilder<ListInstanceFleetsResponse.Builder,ListInstanceFleetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceFleets
(Collection<InstanceFleet> instanceFleets) The list of instance fleets for the cluster and given filters.instanceFleets
(Consumer<InstanceFleet.Builder>... instanceFleets) The list of instance fleets for the cluster and given filters.instanceFleets
(InstanceFleet... instanceFleets) The list of instance fleets for the cluster and given filters.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
instanceFleets
The list of instance fleets for the cluster and given filters.
- Parameters:
instanceFleets
- The list of instance fleets for the cluster and given filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFleets
The list of instance fleets for the cluster and given filters.
- Parameters:
instanceFleets
- The list of instance fleets for the cluster and given filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFleets
ListInstanceFleetsResponse.Builder instanceFleets(Consumer<InstanceFleet.Builder>... instanceFleets) The list of instance fleets for the cluster and given filters.
This is a convenience method that creates an instance of theInstanceFleet.Builder
avoiding the need to create one manually viaInstanceFleet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceFleets(List<InstanceFleet>)
.- Parameters:
instanceFleets
- a consumer that will call methods onInstanceFleet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-