Interface ListDeviceInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDeviceInstancesResponse.Builder,
,ListDeviceInstancesResponse> DeviceFarmResponse.Builder
,SdkBuilder<ListDeviceInstancesResponse.Builder,
,ListDeviceInstancesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDeviceInstancesResponse
public static interface ListDeviceInstancesResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListDeviceInstancesResponse.Builder,ListDeviceInstancesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeviceInstances
(Collection<DeviceInstance> deviceInstances) An object that contains information about your device instances.deviceInstances
(Consumer<DeviceInstance.Builder>... deviceInstances) An object that contains information about your device instances.deviceInstances
(DeviceInstance... deviceInstances) An object that contains information about your device instances.An identifier that can be used in the next call to this operation to return the next set of items in the list.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.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
-
deviceInstances
An object that contains information about your device instances.
- Parameters:
deviceInstances
- An object that contains information about your device instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceInstances
An object that contains information about your device instances.
- Parameters:
deviceInstances
- An object that contains information about your device instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceInstances
ListDeviceInstancesResponse.Builder deviceInstances(Consumer<DeviceInstance.Builder>... deviceInstances) An object that contains information about your device instances.
This is a convenience method that creates an instance of theDeviceInstance.Builder
avoiding the need to create one manually viaDeviceInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceInstances(List<DeviceInstance>)
.- Parameters:
deviceInstances
- a consumer that will call methods onDeviceInstance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An identifier that can be used in the next call to this operation to return the next set of items in the list.
- Parameters:
nextToken
- An identifier that can be used in the next call to this operation to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-