@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotifyRecommendationsReceivedError extends Object implements Serializable, Cloneable, StructuredPojo
An error occurred when creating a recommendation.
Constructor and Description |
---|
NotifyRecommendationsReceivedError() |
Modifier and Type | Method and Description |
---|---|
NotifyRecommendationsReceivedError |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
A recommendation is causing an error.
|
String |
getRecommendationId()
The identifier of the recommendation that is in error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
A recommendation is causing an error.
|
void |
setRecommendationId(String recommendationId)
The identifier of the recommendation that is in error.
|
String |
toString()
Returns a string representation of this object.
|
NotifyRecommendationsReceivedError |
withMessage(String message)
A recommendation is causing an error.
|
NotifyRecommendationsReceivedError |
withRecommendationId(String recommendationId)
The identifier of the recommendation that is in error.
|
public void setMessage(String message)
A recommendation is causing an error.
message
- A recommendation is causing an error.public String getMessage()
A recommendation is causing an error.
public NotifyRecommendationsReceivedError withMessage(String message)
A recommendation is causing an error.
message
- A recommendation is causing an error.public void setRecommendationId(String recommendationId)
The identifier of the recommendation that is in error.
recommendationId
- The identifier of the recommendation that is in error.public String getRecommendationId()
The identifier of the recommendation that is in error.
public NotifyRecommendationsReceivedError withRecommendationId(String recommendationId)
The identifier of the recommendation that is in error.
recommendationId
- The identifier of the recommendation that is in error.public String toString()
toString
in class Object
Object.toString()
public NotifyRecommendationsReceivedError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.