List of usage examples for com.amazonaws.services.devicefarm.model ListDevicePoolsResult getDevicePools
public java.util.List<DevicePool> getDevicePools()
Information about the device pools.
From source file:org.jenkinsci.plugins.awsdevicefarm.AWSDeviceFarm.java
License:Open Source License
/** * Get Device Farm device pools for a given Device Farm project. * * @param project Device Farm Project./*from ww w . jav a2 s . c om*/ * @return A List of the Device Farm device pools. * @throws AWSDeviceFarmException */ public List<DevicePool> getDevicePools(Project project) { ListDevicePoolsResult poolsResult = api .listDevicePools(new ListDevicePoolsRequest().withArn(project.getArn())); List<DevicePool> pools = poolsResult.getDevicePools(); return pools; }