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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDevicePoolsResponse.BuilderdevicePools(Collection<DevicePool> devicePools)Information about the device pools.ListDevicePoolsResponse.BuilderdevicePools(Consumer<DevicePool.Builder>... devicePools)Information about the device pools.ListDevicePoolsResponse.BuilderdevicePools(DevicePool... devicePools)Information about the device pools.ListDevicePoolsResponse.BuildernextToken(String nextToken)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 Detail
-
devicePools
ListDevicePoolsResponse.Builder devicePools(Collection<DevicePool> 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
ListDevicePoolsResponse.Builder devicePools(DevicePool... 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
ListDevicePoolsResponse.Builder devicePools(Consumer<DevicePool.Builder>... devicePools)
Information about the device pools.
This is a convenience method that creates an instance of theDevicePool.Builderavoiding the need to create one manually viaDevicePool.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#devicePools(List.) - 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:
#devicePools(java.util.Collection)
-
nextToken
ListDevicePoolsResponse.Builder nextToken(String 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.
-
-