@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MonitorErrorDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains IoT SiteWise Monitor error details.
| Constructor and Description |
|---|
MonitorErrorDetails() |
| Modifier and Type | Method and Description |
|---|---|
MonitorErrorDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code.
|
String |
getMessage()
The error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
The error code.
|
void |
setMessage(String message)
The error message.
|
String |
toString()
Returns a string representation of this object.
|
MonitorErrorDetails |
withCode(MonitorErrorCode code)
The error code.
|
MonitorErrorDetails |
withCode(String code)
The error code.
|
MonitorErrorDetails |
withMessage(String message)
The error message.
|
public void setCode(String code)
The error code.
code - The error code.MonitorErrorCodepublic String getCode()
The error code.
MonitorErrorCodepublic MonitorErrorDetails withCode(String code)
The error code.
code - The error code.MonitorErrorCodepublic MonitorErrorDetails withCode(MonitorErrorCode code)
The error code.
code - The error code.MonitorErrorCodepublic void setMessage(String message)
The error message.
message - The error message.public String getMessage()
The error message.
public MonitorErrorDetails withMessage(String message)
The error message.
message - The error message.public String toString()
toString in class ObjectObject.toString()public MonitorErrorDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.