@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserFeedback extends Object implements Serializable, Cloneable, StructuredPojo
Feedback that can be submitted for each instance of an anomaly by the user. Feedback is be used for improvements in generating recommendations for the application.
| Constructor and Description |
|---|
UserFeedback() |
| Modifier and Type | Method and Description |
|---|---|
UserFeedback |
clone() |
boolean |
equals(Object obj) |
String |
getType()
Optional
Positive or Negative feedback submitted by the user about whether the
recommendation is useful or not. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setType(String type)
Optional
Positive or Negative feedback submitted by the user about whether the
recommendation is useful or not. |
String |
toString()
Returns a string representation of this object.
|
UserFeedback |
withType(FeedbackType type)
Optional
Positive or Negative feedback submitted by the user about whether the
recommendation is useful or not. |
UserFeedback |
withType(String type)
Optional
Positive or Negative feedback submitted by the user about whether the
recommendation is useful or not. |
public void setType(String type)
Optional Positive or Negative feedback submitted by the user about whether the
recommendation is useful or not.
type - Optional Positive or Negative feedback submitted by the user about whether the
recommendation is useful or not.FeedbackTypepublic String getType()
Optional Positive or Negative feedback submitted by the user about whether the
recommendation is useful or not.
Positive or Negative feedback submitted by the user about whether the
recommendation is useful or not.FeedbackTypepublic UserFeedback withType(String type)
Optional Positive or Negative feedback submitted by the user about whether the
recommendation is useful or not.
type - Optional Positive or Negative feedback submitted by the user about whether the
recommendation is useful or not.FeedbackTypepublic UserFeedback withType(FeedbackType type)
Optional Positive or Negative feedback submitted by the user about whether the
recommendation is useful or not.
type - Optional Positive or Negative feedback submitted by the user about whether the
recommendation is useful or not.FeedbackTypepublic String toString()
toString in class ObjectObject.toString()public UserFeedback clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.