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 IncompatibilityMessageclone()booleanequals(Object obj)StringgetMessage()A message about the incompatibility.StringgetType()The type of incompatibility.inthashCode()voidsetMessage(String message)A message about the incompatibility.voidsetType(DeviceAttribute type)The type of incompatibility.voidsetType(String type)The type of incompatibility.StringtoString()Returns a string representation of this object; useful for testing and debugging.IncompatibilityMessagewithMessage(String message)A message about the incompatibility.IncompatibilityMessagewithType(DeviceAttribute type)The type of incompatibility.IncompatibilityMessagewithType(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public IncompatibilityMessage clone()
-
-