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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInstanceFleetsResponse.BuilderinstanceFleets(Collection<InstanceFleet> instanceFleets)The list of instance fleets for the cluster and given filters.ListInstanceFleetsResponse.BuilderinstanceFleets(Consumer<InstanceFleet.Builder>... instanceFleets)The list of instance fleets for the cluster and given filters.ListInstanceFleetsResponse.BuilderinstanceFleets(InstanceFleet... instanceFleets)The list of instance fleets for the cluster and given filters.ListInstanceFleetsResponse.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
-
instanceFleets
ListInstanceFleetsResponse.Builder instanceFleets(Collection<InstanceFleet> 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(InstanceFleet... 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 to#instanceFleets(List.) - 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:
#instanceFleets(java.util.Collection)
-
marker
ListInstanceFleetsResponse.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.
-
-