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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IncompatibilityMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IncompatibilityMessage
clone()
boolean
equals(Object obj)
String
getMessage()
A message about the incompatibility.String
getType()
The type of incompatibility.int
hashCode()
void
setMessage(String message)
A message about the incompatibility.void
setType(DeviceAttribute type)
The type of incompatibility.void
setType(String type)
The type of incompatibility.String
toString()
Returns a string representation of this object; useful for testing and debugging.IncompatibilityMessage
withMessage(String message)
A message about the incompatibility.IncompatibilityMessage
withType(DeviceAttribute type)
The type of incompatibility.IncompatibilityMessage
withType(String type)
The type of incompatibility.
-
-
-
Method Detail
-
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:
DeviceAttribute
-
-
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:
DeviceAttribute
-
-
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:
DeviceAttribute
-
-
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:
DeviceAttribute
-
-
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:
DeviceAttribute
-
-
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 IncompatibilityMessage clone()
-
-