Class DevicePoolCompatibilityResult
java.lang.Object
com.amazonaws.services.devicefarm.model.DevicePoolCompatibilityResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents a device pool compatibility result.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Whether the result was compatible with the device pool.Information about the compatibility.int
hashCode()
Whether the result was compatible with the device pool.void
setCompatible
(Boolean compatible) Whether the result was compatible with the device pool.void
void
setIncompatibilityMessages
(Collection<IncompatibilityMessage> incompatibilityMessages) Information about the compatibility.toString()
Returns a string representation of this object; useful for testing and debugging.withCompatible
(Boolean compatible) Whether the result was compatible with the device pool.withDevice
(Device device) withIncompatibilityMessages
(IncompatibilityMessage... incompatibilityMessages) Information about the compatibility.withIncompatibilityMessages
(Collection<IncompatibilityMessage> incompatibilityMessages) Information about the compatibility.
-
Constructor Details
-
DevicePoolCompatibilityResult
public DevicePoolCompatibilityResult()
-
-
Method Details
-
setDevice
- Parameters:
device
-
-
getDevice
- Returns:
-
withDevice
- Parameters:
device
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCompatible
Whether the result was compatible with the device pool.
- Parameters:
compatible
- Whether the result was compatible with the device pool.
-
getCompatible
Whether the result was compatible with the device pool.
- Returns:
- Whether the result was compatible with the device pool.
-
withCompatible
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
Whether the result was compatible with the device pool.
- Returns:
- Whether the result was compatible with the device pool.
-
getIncompatibilityMessages
Information about the compatibility.
- Returns:
- Information about the compatibility.
-
setIncompatibilityMessages
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-