@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTopicReviewedAnswersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListTopicReviewedAnswersResult() |
| Modifier and Type | Method and Description |
|---|---|
ListTopicReviewedAnswersResult |
clone() |
boolean |
equals(Object obj) |
List<TopicReviewedAnswer> |
getAnswers()
The definition of all Answers in the topic.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
String |
getTopicArn()
The Amazon Resource Name (ARN) of the topic.
|
String |
getTopicId()
The ID for the topic that contains the reviewed answer that you want to list.
|
int |
hashCode() |
void |
setAnswers(Collection<TopicReviewedAnswer> answers)
The definition of all Answers in the topic.
|
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
void |
setTopicArn(String topicArn)
The Amazon Resource Name (ARN) of the topic.
|
void |
setTopicId(String topicId)
The ID for the topic that contains the reviewed answer that you want to list.
|
String |
toString()
Returns a string representation of this object.
|
ListTopicReviewedAnswersResult |
withAnswers(Collection<TopicReviewedAnswer> answers)
The definition of all Answers in the topic.
|
ListTopicReviewedAnswersResult |
withAnswers(TopicReviewedAnswer... answers)
The definition of all Answers in the topic.
|
ListTopicReviewedAnswersResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
ListTopicReviewedAnswersResult |
withStatus(Integer status)
The HTTP status of the request.
|
ListTopicReviewedAnswersResult |
withTopicArn(String topicArn)
The Amazon Resource Name (ARN) of the topic.
|
ListTopicReviewedAnswersResult |
withTopicId(String topicId)
The ID for the topic that contains the reviewed answer that you want to list.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setTopicId(String topicId)
The ID for the topic that contains the reviewed answer that you want to list. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
topicId - The ID for the topic that contains the reviewed answer that you want to list. This ID is unique per Amazon
Web Services Region for each Amazon Web Services account.public String getTopicId()
The ID for the topic that contains the reviewed answer that you want to list. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
public ListTopicReviewedAnswersResult withTopicId(String topicId)
The ID for the topic that contains the reviewed answer that you want to list. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
topicId - The ID for the topic that contains the reviewed answer that you want to list. This ID is unique per Amazon
Web Services Region for each Amazon Web Services account.public void setTopicArn(String topicArn)
The Amazon Resource Name (ARN) of the topic.
topicArn - The Amazon Resource Name (ARN) of the topic.public String getTopicArn()
The Amazon Resource Name (ARN) of the topic.
public ListTopicReviewedAnswersResult withTopicArn(String topicArn)
The Amazon Resource Name (ARN) of the topic.
topicArn - The Amazon Resource Name (ARN) of the topic.public List<TopicReviewedAnswer> getAnswers()
The definition of all Answers in the topic.
public void setAnswers(Collection<TopicReviewedAnswer> answers)
The definition of all Answers in the topic.
answers - The definition of all Answers in the topic.public ListTopicReviewedAnswersResult withAnswers(TopicReviewedAnswer... answers)
The definition of all Answers in the topic.
NOTE: This method appends the values to the existing list (if any). Use
setAnswers(java.util.Collection) or withAnswers(java.util.Collection) if you want to override
the existing values.
answers - The definition of all Answers in the topic.public ListTopicReviewedAnswersResult withAnswers(Collection<TopicReviewedAnswer> answers)
The definition of all Answers in the topic.
answers - The definition of all Answers in the topic.public void setStatus(Integer status)
The HTTP status of the request.
status - The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public ListTopicReviewedAnswersResult withStatus(Integer status)
The HTTP status of the request.
status - The HTTP status of the request.public void setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId - The Amazon Web Services request ID for this operation.public String getRequestId()
The Amazon Web Services request ID for this operation.
public ListTopicReviewedAnswersResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId - The Amazon Web Services request ID for this operation.public String toString()
toString in class ObjectObject.toString()public ListTopicReviewedAnswersResult clone()