Interface GetDeviceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDeviceResponse.Builder,,GetDeviceResponse> DeviceFarmResponse.Builder,SdkBuilder<GetDeviceResponse.Builder,,GetDeviceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDeviceResponse
@Mutable
@NotThreadSafe
public static interface GetDeviceResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<GetDeviceResponse.Builder,GetDeviceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetDeviceResponse.Builderdevice(Consumer<Device.Builder> device) An object that contains information about the requested device.An object that contains information about the requested device.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
device
An object that contains information about the requested device.
- Parameters:
device- An object that contains information about the requested device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
device
An object that contains information about the requested device.
This is a convenience method that creates an instance of theDevice.Builderavoiding the need to create one manually viaDevice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todevice(Device).- Parameters:
device- a consumer that will call methods onDevice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-