public static interface GetDeviceInstanceResponse.Builder extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<GetDeviceInstanceResponse.Builder,GetDeviceInstanceResponse>
Modifier and Type | Method and Description |
---|---|
default GetDeviceInstanceResponse.Builder |
deviceInstance(Consumer<DeviceInstance.Builder> deviceInstance)
An object containing information about your device instance.
|
GetDeviceInstanceResponse.Builder |
deviceInstance(DeviceInstance deviceInstance)
An object containing information about your device instance.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetDeviceInstanceResponse.Builder deviceInstance(DeviceInstance deviceInstance)
An object containing information about your device instance.
deviceInstance
- An object containing information about your device instance.default GetDeviceInstanceResponse.Builder deviceInstance(Consumer<DeviceInstance.Builder> deviceInstance)
An object containing information about your device instance.
This is a convenience that creates an instance of theDeviceInstance.Builder
avoiding the need to
create one manually via DeviceInstance.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to deviceInstance(DeviceInstance)
.deviceInstance
- a consumer that will call methods on DeviceInstance.Builder
deviceInstance(DeviceInstance)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.