@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigurationErrorDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains the details of an IoT SiteWise configuration error.
Constructor and Description |
---|
ConfigurationErrorDetails() |
Modifier and Type | Method and Description |
---|---|
ConfigurationErrorDetails |
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.
|
ConfigurationErrorDetails |
withCode(ErrorCode code)
The error code.
|
ConfigurationErrorDetails |
withCode(String code)
The error code.
|
ConfigurationErrorDetails |
withMessage(String message)
The error message.
|
public void setCode(String code)
The error code.
code
- The error code.ErrorCode
public ConfigurationErrorDetails withCode(String code)
The error code.
code
- The error code.ErrorCode
public ConfigurationErrorDetails withCode(ErrorCode code)
The error code.
code
- The error code.ErrorCode
public void setMessage(String message)
The error message.
message
- The error message.public String getMessage()
The error message.
public ConfigurationErrorDetails withMessage(String message)
The error message.
message
- The error message.public String toString()
toString
in class Object
Object.toString()
public ConfigurationErrorDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.