Interface ListDevicePoolsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDevicePoolsResponse.Builder,
,ListDevicePoolsResponse> DeviceFarmResponse.Builder
,SdkBuilder<ListDevicePoolsResponse.Builder,
,ListDevicePoolsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDevicePoolsResponse
public static interface ListDevicePoolsResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListDevicePoolsResponse.Builder,ListDevicePoolsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondevicePools
(Collection<DevicePool> devicePools) Information about the device pools.devicePools
(Consumer<DevicePool.Builder>... devicePools) Information about the device pools.devicePools
(DevicePool... devicePools) Information about the device pools.If the number of items that are returned is significantly large, this is an identifier that is also returned.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
-
devicePools
Information about the device pools.
- Parameters:
devicePools
- Information about the device pools.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devicePools
Information about the device pools.
- Parameters:
devicePools
- Information about the device pools.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devicePools
Information about the device pools.
This is a convenience method that creates an instance of theDevicePool.Builder
avoiding the need to create one manually viaDevicePool.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todevicePools(List<DevicePool>)
.- Parameters:
devicePools
- a consumer that will call methods onDevicePool.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
- Parameters:
nextToken
- If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent 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.
-