Interface DevicePoolCompatibilityResult.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<DevicePoolCompatibilityResult.Builder,,DevicePoolCompatibilityResult> SdkBuilder<DevicePoolCompatibilityResult.Builder,,DevicePoolCompatibilityResult> SdkPojo
- Enclosing class:
 DevicePoolCompatibilityResult
public static interface DevicePoolCompatibilityResult.Builder
extends SdkPojo, CopyableBuilder<DevicePoolCompatibilityResult.Builder,DevicePoolCompatibilityResult> 
- 
Method Summary
Modifier and TypeMethodDescriptioncompatible(Boolean compatible) Whether the result was compatible with the device pool.device(Consumer<Device.Builder> device) The device (phone or tablet) to return information about.The device (phone or tablet) to return information about.incompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages) Information about the compatibility.incompatibilityMessages(Consumer<IncompatibilityMessage.Builder>... incompatibilityMessages) Information about the compatibility.incompatibilityMessages(IncompatibilityMessage... incompatibilityMessages) Information about the compatibility.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
device
The device (phone or tablet) to return information about.
- Parameters:
 device- The device (phone or tablet) to return information about.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
device
The device (phone or tablet) to return information about.
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:
 
 - 
compatible
Whether the result was compatible with the device pool.
- Parameters:
 compatible- Whether the result was compatible with the device pool.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
incompatibilityMessages
DevicePoolCompatibilityResult.Builder incompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages) Information about the compatibility.
- Parameters:
 incompatibilityMessages- Information about the compatibility.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
incompatibilityMessages
DevicePoolCompatibilityResult.Builder incompatibilityMessages(IncompatibilityMessage... incompatibilityMessages) Information about the compatibility.
- Parameters:
 incompatibilityMessages- Information about the compatibility.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
incompatibilityMessages
DevicePoolCompatibilityResult.Builder incompatibilityMessages(Consumer<IncompatibilityMessage.Builder>... incompatibilityMessages) Information about the compatibility.
This is a convenience method that creates an instance of theIncompatibilityMessage.Builderavoiding the need to create one manually viaIncompatibilityMessage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toincompatibilityMessages(List<IncompatibilityMessage>).- Parameters:
 incompatibilityMessages- a consumer that will call methods onIncompatibilityMessage.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -