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 containing information about the requested device.
|
GetDeviceResponse.Builder |
device(Device device)
An object containing information about the requested device.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetDeviceResponse.Builder device(Device device)
An object containing information about the requested device.
device
- An object containing information about the requested device.default GetDeviceResponse.Builder device(Consumer<Device.Builder> device)
An object containing information about the requested device.
This is a convenience 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.Builder
device(Device)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.