@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProtectedQueryError extends Object implements Serializable, Cloneable, StructuredPojo
Details of errors thrown by the protected query.
Constructor and Description |
---|
ProtectedQueryError() |
Modifier and Type | Method and Description |
---|---|
ProtectedQueryError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
An error code for the error.
|
String |
getMessage()
A description of why the query failed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
An error code for the error.
|
void |
setMessage(String message)
A description of why the query failed.
|
String |
toString()
Returns a string representation of this object.
|
ProtectedQueryError |
withCode(String code)
An error code for the error.
|
ProtectedQueryError |
withMessage(String message)
A description of why the query failed.
|
public void setMessage(String message)
A description of why the query failed.
message
- A description of why the query failed.public String getMessage()
A description of why the query failed.
public ProtectedQueryError withMessage(String message)
A description of why the query failed.
message
- A description of why the query failed.public void setCode(String code)
An error code for the error.
code
- An error code for the error.public String getCode()
An error code for the error.
public ProtectedQueryError withCode(String code)
An error code for the error.
code
- An error code for the error.public String toString()
toString
in class Object
Object.toString()
public ProtectedQueryError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.