public class DevicePoolCompatibilityResult extends Object implements Serializable, Cloneable
Represents a device pool compatibility result.
Constructor and Description |
---|
DevicePoolCompatibilityResult() |
Modifier and Type | Method and Description |
---|---|
DevicePoolCompatibilityResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCompatible()
Whether the result was compatible with the device pool.
|
Device |
getDevice()
Returns the value of the Device property for this object.
|
List<IncompatibilityMessage> |
getIncompatibilityMessages()
Information about the compatibility.
|
int |
hashCode() |
Boolean |
isCompatible()
Whether the result was compatible with the device pool.
|
void |
setCompatible(Boolean compatible)
Whether the result was compatible with the device pool.
|
void |
setDevice(Device device)
Sets the value of the Device property for this object.
|
void |
setIncompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)
Information about the compatibility.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DevicePoolCompatibilityResult |
withCompatible(Boolean compatible)
Whether the result was compatible with the device pool.
|
DevicePoolCompatibilityResult |
withDevice(Device device)
Sets the value of the Device property for this object.
|
DevicePoolCompatibilityResult |
withIncompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)
Information about the compatibility.
|
DevicePoolCompatibilityResult |
withIncompatibilityMessages(IncompatibilityMessage... incompatibilityMessages)
Information about the compatibility.
|
public void setDevice(Device device)
device
- The new value for the Device property for this object.public Device getDevice()
public DevicePoolCompatibilityResult withDevice(Device device)
device
- The new value for the Device property for this object.public void setCompatible(Boolean compatible)
Whether the result was compatible with the device pool.
compatible
- Whether the result was compatible with the device pool.public Boolean getCompatible()
Whether the result was compatible with the device pool.
public DevicePoolCompatibilityResult withCompatible(Boolean compatible)
Whether the result was compatible with the device pool.
compatible
- Whether the result was compatible with the device pool.public Boolean isCompatible()
Whether the result was compatible with the device pool.
public List<IncompatibilityMessage> getIncompatibilityMessages()
Information about the compatibility.
public void setIncompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)
Information about the compatibility.
incompatibilityMessages
- Information about the compatibility.public DevicePoolCompatibilityResult withIncompatibilityMessages(IncompatibilityMessage... incompatibilityMessages)
Information about the compatibility.
incompatibilityMessages
- Information about the compatibility.public DevicePoolCompatibilityResult withIncompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)
Information about the compatibility.
incompatibilityMessages
- Information about the compatibility.public String toString()
toString
in class Object
Object.toString()
public DevicePoolCompatibilityResult clone()
Copyright © 2015. All rights reserved.