@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.FeedbackType
public 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.FeedbackType
public 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.FeedbackType
public 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.FeedbackType
public String toString()
toString
in class Object
Object.toString()
public UserFeedback clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.