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:
  • Constructor Details

    • DevicePoolCompatibilityResult

      public DevicePoolCompatibilityResult()
  • Method Details

    • 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) or withIncompatibilityMessages(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object