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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DevicePoolCompatibilityResult.Buildercompatible(Boolean compatible)Whether the result was compatible with the device pool.default DevicePoolCompatibilityResult.Builderdevice(Consumer<Device.Builder> device)The device (phone or tablet) to return information about.DevicePoolCompatibilityResult.Builderdevice(Device device)The device (phone or tablet) to return information about.DevicePoolCompatibilityResult.BuilderincompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)Information about the compatibility.DevicePoolCompatibilityResult.BuilderincompatibilityMessages(Consumer<IncompatibilityMessage.Builder>... incompatibilityMessages)Information about the compatibility.DevicePoolCompatibilityResult.BuilderincompatibilityMessages(IncompatibilityMessage... incompatibilityMessages)Information about the compatibility.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
device
DevicePoolCompatibilityResult.Builder device(Device 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
default DevicePoolCompatibilityResult.Builder device(Consumer<Device.Builder> 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:
device(Device)
-
compatible
DevicePoolCompatibilityResult.Builder compatible(Boolean 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 to#incompatibilityMessages(List.) - 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:
#incompatibilityMessages(java.util.Collection)
-
-