Interface ListDeviceFleetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDeviceFleetsResponse.Builder,
,ListDeviceFleetsResponse> SageMakerResponse.Builder
,SdkBuilder<ListDeviceFleetsResponse.Builder,
,ListDeviceFleetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDeviceFleetsResponse
public static interface ListDeviceFleetsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListDeviceFleetsResponse.Builder,ListDeviceFleetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeviceFleetSummaries
(Collection<DeviceFleetSummary> deviceFleetSummaries) Summary of the device fleet.deviceFleetSummaries
(Consumer<DeviceFleetSummary.Builder>... deviceFleetSummaries) Summary of the device fleet.deviceFleetSummaries
(DeviceFleetSummary... deviceFleetSummaries) Summary of the device fleet.The response from the last list when returning a list large enough to need tokening.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.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
-
deviceFleetSummaries
ListDeviceFleetsResponse.Builder deviceFleetSummaries(Collection<DeviceFleetSummary> deviceFleetSummaries) Summary of the device fleet.
- Parameters:
deviceFleetSummaries
- Summary of the device fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceFleetSummaries
Summary of the device fleet.
- Parameters:
deviceFleetSummaries
- Summary of the device fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceFleetSummaries
ListDeviceFleetsResponse.Builder deviceFleetSummaries(Consumer<DeviceFleetSummary.Builder>... deviceFleetSummaries) Summary of the device fleet.
This is a convenience method that creates an instance of theDeviceFleetSummary.Builder
avoiding the need to create one manually viaDeviceFleetSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceFleetSummaries(List<DeviceFleetSummary>)
.- Parameters:
deviceFleetSummaries
- a consumer that will call methods onDeviceFleetSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The response from the last list when returning a list large enough to need tokening.
- Parameters:
nextToken
- The response from the last list when returning a list large enough to need tokening.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-