Class IncompatibilityMessage

java.lang.Object
com.amazonaws.services.devicefarm.model.IncompatibilityMessage
All Implemented Interfaces:
Serializable, Cloneable

public class IncompatibilityMessage extends Object implements Serializable, Cloneable

Represents information about incompatibility.

See Also:
  • Constructor Details

    • IncompatibilityMessage

      public IncompatibilityMessage()
  • Method Details

    • setMessage

      public void setMessage(String message)

      A message about the incompatibility.

      Parameters:
      message - A message about the incompatibility.
    • getMessage

      public String getMessage()

      A message about the incompatibility.

      Returns:
      A message about the incompatibility.
    • withMessage

      public IncompatibilityMessage withMessage(String message)

      A message about the incompatibility.

      Parameters:
      message - A message about the incompatibility.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setType

      public void setType(String type)

      The type of incompatibility.

      Allowed values include:

      • ARN: The ARN.

      • FORM_FACTOR: The form factor (for example, phone or tablet).

      • MANUFACTURER: The manufacturer.

      • PLATFORM: The platform (for example, Android or iOS).

      Parameters:
      type - The type of incompatibility.

      Allowed values include:

      • ARN: The ARN.

      • FORM_FACTOR: The form factor (for example, phone or tablet).

      • MANUFACTURER: The manufacturer.

      • PLATFORM: The platform (for example, Android or iOS).

      See Also:
    • getType

      public String getType()

      The type of incompatibility.

      Allowed values include:

      • ARN: The ARN.

      • FORM_FACTOR: The form factor (for example, phone or tablet).

      • MANUFACTURER: The manufacturer.

      • PLATFORM: The platform (for example, Android or iOS).

      Returns:
      The type of incompatibility.

      Allowed values include:

      • ARN: The ARN.

      • FORM_FACTOR: The form factor (for example, phone or tablet).

      • MANUFACTURER: The manufacturer.

      • PLATFORM: The platform (for example, Android or iOS).

      See Also:
    • withType

      public IncompatibilityMessage withType(String type)

      The type of incompatibility.

      Allowed values include:

      • ARN: The ARN.

      • FORM_FACTOR: The form factor (for example, phone or tablet).

      • MANUFACTURER: The manufacturer.

      • PLATFORM: The platform (for example, Android or iOS).

      Parameters:
      type - The type of incompatibility.

      Allowed values include:

      • ARN: The ARN.

      • FORM_FACTOR: The form factor (for example, phone or tablet).

      • MANUFACTURER: The manufacturer.

      • PLATFORM: The platform (for example, Android or iOS).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setType

      public void setType(DeviceAttribute type)

      The type of incompatibility.

      Allowed values include:

      • ARN: The ARN.

      • FORM_FACTOR: The form factor (for example, phone or tablet).

      • MANUFACTURER: The manufacturer.

      • PLATFORM: The platform (for example, Android or iOS).

      Parameters:
      type - The type of incompatibility.

      Allowed values include:

      • ARN: The ARN.

      • FORM_FACTOR: The form factor (for example, phone or tablet).

      • MANUFACTURER: The manufacturer.

      • PLATFORM: The platform (for example, Android or iOS).

      See Also:
    • withType

      public IncompatibilityMessage withType(DeviceAttribute type)

      The type of incompatibility.

      Allowed values include:

      • ARN: The ARN.

      • FORM_FACTOR: The form factor (for example, phone or tablet).

      • MANUFACTURER: The manufacturer.

      • PLATFORM: The platform (for example, Android or iOS).

      Parameters:
      type - The type of incompatibility.

      Allowed values include:

      • ARN: The ARN.

      • FORM_FACTOR: The form factor (for example, phone or tablet).

      • MANUFACTURER: The manufacturer.

      • PLATFORM: The platform (for example, Android or iOS).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      public IncompatibilityMessage clone()
      Overrides:
      clone in class Object