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(Consumer<IncompatibilityMessage.Builder>... incompatibilityMessages)
Information about the compatibility.
|
DevicePoolCompatibilityResult.Builder |
incompatibilityMessages(IncompatibilityMessage... incompatibilityMessages)
Information about the compatibility.
|
copyapply, buildDevicePoolCompatibilityResult.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.Builderdevice(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.DevicePoolCompatibilityResult.Builder incompatibilityMessages(Consumer<IncompatibilityMessage.Builder>... incompatibilityMessages)
Information about the compatibility.
This is a convenience that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #incompatibilityMessages(List) .incompatibilityMessages - a consumer that will call methods on List.Builder #incompatibilityMessages(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.