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() |
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) |
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) |
DevicePoolCompatibilityResult |
withIncompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)
Information about the compatibility.
|
DevicePoolCompatibilityResult |
withIncompatibilityMessages(IncompatibilityMessage... incompatibilityMessages)
Information about the compatibility.
|
public void setDevice(Device device)
device
- public Device getDevice()
public DevicePoolCompatibilityResult withDevice(Device device)
device
- 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.
NOTE: This method appends the values to the existing list (if any). Use
setIncompatibilityMessages(java.util.Collection)
or
withIncompatibilityMessages(java.util.Collection)
if you want to override the existing values.
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.