@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidTopicReviewedAnswer extends Object implements Serializable, Cloneable, StructuredPojo
The definition for a InvalidTopicReviewedAnswer.
| Constructor and Description |
|---|
InvalidTopicReviewedAnswer() |
| Modifier and Type | Method and Description |
|---|---|
InvalidTopicReviewedAnswer |
clone() |
boolean |
equals(Object obj) |
String |
getAnswerId()
The answer ID for the
InvalidTopicReviewedAnswer. |
String |
getError()
The error that is returned for the
InvalidTopicReviewedAnswer. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAnswerId(String answerId)
The answer ID for the
InvalidTopicReviewedAnswer. |
void |
setError(String error)
The error that is returned for the
InvalidTopicReviewedAnswer. |
String |
toString()
Returns a string representation of this object.
|
InvalidTopicReviewedAnswer |
withAnswerId(String answerId)
The answer ID for the
InvalidTopicReviewedAnswer. |
InvalidTopicReviewedAnswer |
withError(ReviewedAnswerErrorCode error)
The error that is returned for the
InvalidTopicReviewedAnswer. |
InvalidTopicReviewedAnswer |
withError(String error)
The error that is returned for the
InvalidTopicReviewedAnswer. |
public void setAnswerId(String answerId)
The answer ID for the InvalidTopicReviewedAnswer.
answerId - The answer ID for the InvalidTopicReviewedAnswer.public String getAnswerId()
The answer ID for the InvalidTopicReviewedAnswer.
InvalidTopicReviewedAnswer.public InvalidTopicReviewedAnswer withAnswerId(String answerId)
The answer ID for the InvalidTopicReviewedAnswer.
answerId - The answer ID for the InvalidTopicReviewedAnswer.public void setError(String error)
The error that is returned for the InvalidTopicReviewedAnswer.
error - The error that is returned for the InvalidTopicReviewedAnswer.ReviewedAnswerErrorCodepublic String getError()
The error that is returned for the InvalidTopicReviewedAnswer.
InvalidTopicReviewedAnswer.ReviewedAnswerErrorCodepublic InvalidTopicReviewedAnswer withError(String error)
The error that is returned for the InvalidTopicReviewedAnswer.
error - The error that is returned for the InvalidTopicReviewedAnswer.ReviewedAnswerErrorCodepublic InvalidTopicReviewedAnswer withError(ReviewedAnswerErrorCode error)
The error that is returned for the InvalidTopicReviewedAnswer.
error - The error that is returned for the InvalidTopicReviewedAnswer.ReviewedAnswerErrorCodepublic String toString()
toString in class ObjectObject.toString()public InvalidTopicReviewedAnswer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.