@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Warning extends Object implements Serializable, Cloneable, StructuredPojo
The warning code and message that explains a problem with a query.
Constructor and Description |
---|
Warning() |
Modifier and Type | Method and Description |
---|---|
Warning |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The code used to show the type of warning for the query.
|
String |
getMessage()
The message that explains the problem with the query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The code used to show the type of warning for the query.
|
void |
setMessage(String message)
The message that explains the problem with the query.
|
String |
toString()
Returns a string representation of this object.
|
Warning |
withCode(String code)
The code used to show the type of warning for the query.
|
Warning |
withCode(WarningCode code)
The code used to show the type of warning for the query.
|
Warning |
withMessage(String message)
The message that explains the problem with the query.
|
public void setMessage(String message)
The message that explains the problem with the query.
message
- The message that explains the problem with the query.public String getMessage()
The message that explains the problem with the query.
public Warning withMessage(String message)
The message that explains the problem with the query.
message
- The message that explains the problem with the query.public void setCode(String code)
The code used to show the type of warning for the query.
code
- The code used to show the type of warning for the query.WarningCode
public String getCode()
The code used to show the type of warning for the query.
WarningCode
public Warning withCode(String code)
The code used to show the type of warning for the query.
code
- The code used to show the type of warning for the query.WarningCode
public Warning withCode(WarningCode code)
The code used to show the type of warning for the query.
code
- The code used to show the type of warning for the query.WarningCode
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.