public static interface DevicePoolCompatibilityResult.Builder extends CopyableBuilder<DevicePoolCompatibilityResult.Builder,DevicePoolCompatibilityResult>
Modifier and Type | Method and Description |
---|---|
DevicePoolCompatibilityResult.Builder |
compatible(Boolean compatible)
Whether the result was compatible with the device pool.
|
default DevicePoolCompatibilityResult.Builder |
device(Consumer<Device.Builder> device)
The device (phone or tablet) that you wish to return information about.
|
DevicePoolCompatibilityResult.Builder |
device(Device device)
The device (phone or tablet) that you wish to return information about.
|
DevicePoolCompatibilityResult.Builder |
incompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)
Information about the compatibility.
|
DevicePoolCompatibilityResult.Builder |
incompatibilityMessages(IncompatibilityMessage... incompatibilityMessages)
Information about the compatibility.
|
copy
apply, build
DevicePoolCompatibilityResult.Builder device(Device device)
The device (phone or tablet) that you wish to return information about.
device
- The device (phone or tablet) that you wish to return information about.default DevicePoolCompatibilityResult.Builder device(Consumer<Device.Builder> device)
The device (phone or tablet) that you wish to return information about.
This is a convenience that creates an instance of theDevice.Builder
avoiding the need to create one
manually via Device.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to device(Device)
.device
- a consumer that will call methods on Device.Builder
device(Device)
DevicePoolCompatibilityResult.Builder compatible(Boolean compatible)
Whether the result was compatible with the device pool.
compatible
- Whether the result was compatible with the device pool.DevicePoolCompatibilityResult.Builder incompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)
Information about the compatibility.
incompatibilityMessages
- Information about the compatibility.DevicePoolCompatibilityResult.Builder incompatibilityMessages(IncompatibilityMessage... incompatibilityMessages)
Information about the compatibility.
incompatibilityMessages
- Information about the compatibility.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.