* If this parameter is present, it is a token that marks the start of the next batch of returned results. *
*/ private String nextToken; /** ** The rules returned by the operation. *
*/ private com.amazonaws.internal.SdkInternalList* If this parameter is present, it is a token that marks the start of the next batch of returned results. *
* * @param nextToken * If this parameter is present, it is a token that marks the start of the next batch of returned results. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** ** If this parameter is present, it is a token that marks the start of the next batch of returned results. *
* * @return If this parameter is present, it is a token that marks the start of the next batch of returned results. */ public String getNextToken() { return this.nextToken; } /** ** If this parameter is present, it is a token that marks the start of the next batch of returned results. *
* * @param nextToken * If this parameter is present, it is a token that marks the start of the next batch of returned results. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeInsightRulesResult withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** ** The rules returned by the operation. *
* * @return The rules returned by the operation. */ public java.util.List* The rules returned by the operation. *
* * @param insightRules * The rules returned by the operation. */ public void setInsightRules(java.util.Collection* The rules returned by the operation. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setInsightRules(java.util.Collection)} or {@link #withInsightRules(java.util.Collection)} if you want to * override the existing values. *
* * @param insightRules * The rules returned by the operation. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeInsightRulesResult withInsightRules(InsightRule... insightRules) { if (this.insightRules == null) { setInsightRules(new com.amazonaws.internal.SdkInternalList* The rules returned by the operation. *
* * @param insightRules * The rules returned by the operation. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeInsightRulesResult withInsightRules(java.util.Collection