public static interface CreateDevicePoolResponse.Builder extends DeviceFarmResponse.Builder, CopyableBuilder<CreateDevicePoolResponse.Builder,CreateDevicePoolResponse>
Modifier and Type | Method and Description |
---|---|
default CreateDevicePoolResponse.Builder |
devicePool(Consumer<DevicePool.Builder> devicePool)
The newly created device pool.
|
CreateDevicePoolResponse.Builder |
devicePool(DevicePool devicePool)
The newly created device pool.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateDevicePoolResponse.Builder devicePool(DevicePool devicePool)
The newly created device pool.
devicePool
- The newly created device pool.default CreateDevicePoolResponse.Builder devicePool(Consumer<DevicePool.Builder> devicePool)
The newly created device pool.
This is a convenience that creates an instance of theDevicePool.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 devicePool(DevicePool)
.devicePool
- a consumer that will call methods on DevicePool.Builder
devicePool(DevicePool)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.