Interface UpdateDeviceInstanceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateDeviceInstanceResponse.Builder,
,UpdateDeviceInstanceResponse> DeviceFarmResponse.Builder
,SdkBuilder<UpdateDeviceInstanceResponse.Builder,
,UpdateDeviceInstanceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateDeviceInstanceResponse
public static interface UpdateDeviceInstanceResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<UpdateDeviceInstanceResponse.Builder,UpdateDeviceInstanceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeviceInstance
(Consumer<DeviceInstance.Builder> deviceInstance) An object that contains information about your device instance.deviceInstance
(DeviceInstance deviceInstance) An object that contains information about your device instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deviceInstance
An object that contains information about your device instance.
- Parameters:
deviceInstance
- An object that contains information about your device instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceInstance
default UpdateDeviceInstanceResponse.Builder deviceInstance(Consumer<DeviceInstance.Builder> deviceInstance) An object that contains information about your device instance.
This is a convenience method that creates an instance of theDeviceInstance.Builder
avoiding the need to create one manually viaDeviceInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceInstance(DeviceInstance)
.- Parameters:
deviceInstance
- a consumer that will call methods onDeviceInstance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-