/** * <p> * You can use this parameter to indicate the maximum number of items you want in the response. The default value is * 10. The maximum value is 500. * </p> * * @param maxResults * You can use this parameter to indicate the maximum number of items you want in the response. The default * value is 10. The maximum value is 500. * @return Returns a reference to this object so that method calls can be chained together. */ public PreviewAgentsRequest withMaxResults(Integer maxResults) { setMaxResults(maxResults); return this; }
/** * <p> * You can use this parameter to indicate the maximum number of items you want in the response. The default value is * 10. The maximum value is 500. * </p> * * @param maxResults * You can use this parameter to indicate the maximum number of items you want in the response. The default * value is 10. The maximum value is 500. * @return Returns a reference to this object so that method calls can be chained together. */ public PreviewAgentsRequest withMaxResults(Integer maxResults) { setMaxResults(maxResults); return this; }