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