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 DevicePoolCompatibilityResultclone()booleanequals(Object obj)BooleangetCompatible()Whether the result was compatible with the device pool.DevicegetDevice()List<IncompatibilityMessage>getIncompatibilityMessages()Information about the compatibility.inthashCode()BooleanisCompatible()Whether the result was compatible with the device pool.voidsetCompatible(Boolean compatible)Whether the result was compatible with the device pool.voidsetDevice(Device device)voidsetIncompatibilityMessages(Collection<IncompatibilityMessage> incompatibilityMessages)Information about the compatibility.StringtoString()Returns a string representation of this object; useful for testing and debugging.DevicePoolCompatibilityResultwithCompatible(Boolean compatible)Whether the result was compatible with the device pool.DevicePoolCompatibilityResultwithDevice(Device device)DevicePoolCompatibilityResultwithIncompatibilityMessages(IncompatibilityMessage... incompatibilityMessages)Information about the compatibility.DevicePoolCompatibilityResultwithIncompatibilityMessages(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DevicePoolCompatibilityResult clone()
-
-