* The identifier of query used for the search. You also use QueryId
to identify the search when using
* the Submitfeedback
* API.
*
* The results of the retrieved relevant passages for the search. *
*/ private java.util.List
* The identifier of query used for the search. You also use QueryId
to identify the search when using
* the Submitfeedback
* API.
*
QueryId
to identify the search when
* using the Submitfeedback
* API.
*/
public void setQueryId(String queryId) {
this.queryId = queryId;
}
/**
*
* The identifier of query used for the search. You also use QueryId
to identify the search when using
* the Submitfeedback
* API.
*
QueryId
to identify the search
* when using the Submitfeedback
* API.
*/
public String getQueryId() {
return this.queryId;
}
/**
*
* The identifier of query used for the search. You also use QueryId
to identify the search when using
* the Submitfeedback
* API.
*
QueryId
to identify the search when
* using the Submitfeedback
* API.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public RetrieveResult withQueryId(String queryId) {
setQueryId(queryId);
return this;
}
/**
* * The results of the retrieved relevant passages for the search. *
* * @return The results of the retrieved relevant passages for the search. */ public java.util.List* The results of the retrieved relevant passages for the search. *
* * @param resultItems * The results of the retrieved relevant passages for the search. */ public void setResultItems(java.util.Collection* The results of the retrieved relevant passages for the search. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setResultItems(java.util.Collection)} or {@link #withResultItems(java.util.Collection)} if you want to * override the existing values. *
* * @param resultItems * The results of the retrieved relevant passages for the search. * @return Returns a reference to this object so that method calls can be chained together. */ public RetrieveResult withResultItems(RetrieveResultItem... resultItems) { if (this.resultItems == null) { setResultItems(new java.util.ArrayList* The results of the retrieved relevant passages for the search. *
* * @param resultItems * The results of the retrieved relevant passages for the search. * @return Returns a reference to this object so that method calls can be chained together. */ public RetrieveResult withResultItems(java.util.Collection