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 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

      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

      Information about the device pools.

      This is a convenience method that creates an instance of the DevicePool.Builder avoiding the need to create one manually via DevicePool.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to devicePools(List<DevicePool>).

      Parameters:
      devicePools - a consumer that will call methods on DevicePool.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.