Interface GetDeviceInstanceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDeviceInstanceResponse.Builder,,GetDeviceInstanceResponse> DeviceFarmResponse.Builder,SdkBuilder<GetDeviceInstanceResponse.Builder,,GetDeviceInstanceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDeviceInstanceResponse
public static interface GetDeviceInstanceResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<GetDeviceInstanceResponse.Builder,GetDeviceInstanceResponse>
-
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
copyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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 GetDeviceInstanceResponse.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.Builderavoiding the need to create one manually viaDeviceInstance.builder().When the
Consumercompletes,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:
-