Interface GetDevicePoolCompatibilityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDevicePoolCompatibilityResponse.Builder,
,GetDevicePoolCompatibilityResponse> DeviceFarmResponse.Builder
,SdkBuilder<GetDevicePoolCompatibilityResponse.Builder,
,GetDevicePoolCompatibilityResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDevicePoolCompatibilityResponse
@Mutable
@NotThreadSafe
public static interface GetDevicePoolCompatibilityResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<GetDevicePoolCompatibilityResponse.Builder,GetDevicePoolCompatibilityResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncompatibleDevices
(Collection<DevicePoolCompatibilityResult> compatibleDevices) Information about compatible devices.compatibleDevices
(Consumer<DevicePoolCompatibilityResult.Builder>... compatibleDevices) Information about compatible devices.compatibleDevices
(DevicePoolCompatibilityResult... compatibleDevices) Information about compatible devices.incompatibleDevices
(Collection<DevicePoolCompatibilityResult> incompatibleDevices) Information about incompatible devices.incompatibleDevices
(Consumer<DevicePoolCompatibilityResult.Builder>... incompatibleDevices) Information about incompatible devices.incompatibleDevices
(DevicePoolCompatibilityResult... incompatibleDevices) Information about incompatible devices.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
compatibleDevices
GetDevicePoolCompatibilityResponse.Builder compatibleDevices(Collection<DevicePoolCompatibilityResult> compatibleDevices) Information about compatible devices.
- Parameters:
compatibleDevices
- Information about compatible devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleDevices
GetDevicePoolCompatibilityResponse.Builder compatibleDevices(DevicePoolCompatibilityResult... compatibleDevices) Information about compatible devices.
- Parameters:
compatibleDevices
- Information about compatible devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleDevices
GetDevicePoolCompatibilityResponse.Builder compatibleDevices(Consumer<DevicePoolCompatibilityResult.Builder>... compatibleDevices) Information about compatible devices.
This is a convenience method that creates an instance of theDevicePoolCompatibilityResult.Builder
avoiding the need to create one manually viaDevicePoolCompatibilityResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompatibleDevices(List<DevicePoolCompatibilityResult>)
.- Parameters:
compatibleDevices
- a consumer that will call methods onDevicePoolCompatibilityResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
incompatibleDevices
GetDevicePoolCompatibilityResponse.Builder incompatibleDevices(Collection<DevicePoolCompatibilityResult> incompatibleDevices) Information about incompatible devices.
- Parameters:
incompatibleDevices
- Information about incompatible devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incompatibleDevices
GetDevicePoolCompatibilityResponse.Builder incompatibleDevices(DevicePoolCompatibilityResult... incompatibleDevices) Information about incompatible devices.
- Parameters:
incompatibleDevices
- Information about incompatible devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incompatibleDevices
GetDevicePoolCompatibilityResponse.Builder incompatibleDevices(Consumer<DevicePoolCompatibilityResult.Builder>... incompatibleDevices) Information about incompatible devices.
This is a convenience method that creates an instance of theDevicePoolCompatibilityResult.Builder
avoiding the need to create one manually viaDevicePoolCompatibilityResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toincompatibleDevices(List<DevicePoolCompatibilityResult>)
.- Parameters:
incompatibleDevices
- a consumer that will call methods onDevicePoolCompatibilityResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-