Class DevicePoolCompatibilityResult
- java.lang.Object
-
- com.amazonaws.services.devicefarm.model.DevicePoolCompatibilityResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DevicePoolCompatibilityResult extends Object implements Serializable, Cloneable
Represents a device pool compatibility result.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DevicePoolCompatibilityResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(IncompatibilityMessage... incompatibilityMessages)
Information about the compatibility.DevicePoolCompatibilityResult
withIncompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)
Information about the compatibility.
-
-
-
Method Detail
-
setDevice
public void setDevice(Device device)
- Parameters:
device
-
-
getDevice
public Device getDevice()
- Returns:
-
withDevice
public DevicePoolCompatibilityResult withDevice(Device device)
- Parameters:
device
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCompatible
public void setCompatible(Boolean compatible)
Whether the result was compatible with the device pool.
- Parameters:
compatible
- Whether the result was compatible with the device pool.
-
getCompatible
public Boolean getCompatible()
Whether the result was compatible with the device pool.
- Returns:
- Whether the result was compatible with the device pool.
-
withCompatible
public DevicePoolCompatibilityResult withCompatible(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.
-
isCompatible
public Boolean isCompatible()
Whether the result was compatible with the device pool.
- Returns:
- Whether the result was compatible with the device pool.
-
getIncompatibilityMessages
public List<IncompatibilityMessage> getIncompatibilityMessages()
Information about the compatibility.
- Returns:
- Information about the compatibility.
-
setIncompatibilityMessages
public void setIncompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)
Information about the compatibility.
- Parameters:
incompatibilityMessages
- Information about the compatibility.
-
withIncompatibilityMessages
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)
orwithIncompatibilityMessages(java.util.Collection)
if you want to override the existing values.- Parameters:
incompatibilityMessages
- Information about the compatibility.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withIncompatibilityMessages
public DevicePoolCompatibilityResult withIncompatibilityMessages(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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DevicePoolCompatibilityResult clone()
-
-