Interface ListInstanceFleetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListInstanceFleetsResponse.Builder,,ListInstanceFleetsResponse> EmrResponse.Builder,SdkBuilder<ListInstanceFleetsResponse.Builder,,ListInstanceFleetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListInstanceFleetsResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.emr.model.EmrResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaInstanceFleet.builder().When the
Consumercompletes,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.
-