public static interface GetDeviceResponse.Builder extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<GetDeviceResponse.Builder,GetDeviceResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetDeviceResponse.Builder |
device(Consumer<Device.Builder> device)
An object that contains information about the requested device.
|
GetDeviceResponse.Builder |
device(Device device)
An object that contains information about the requested device.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetDeviceResponse.Builder device(Device device)
An object that contains information about the requested device.
device - An object that contains information about the requested device.default GetDeviceResponse.Builder device(Consumer<Device.Builder> device)
An object that contains information about the requested device.
This is a convenience method that creates an instance of theDevice.Builder avoiding the need to
create one manually via Device.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to device(Device).
device - a consumer that will call methods on Device.Builderdevice(Device)Copyright © 2023. All rights reserved.