* The token that specifies the next page of results to return. To request the first page, leave NextToken empty. * The token will expire in 24 hours, and cannot be shared with other accounts. *
*/ private String nextToken; /** ** An array of SearchSchemaSummary information. *
*/ private java.util.List* The token that specifies the next page of results to return. To request the first page, leave NextToken empty. * The token will expire in 24 hours, and cannot be shared with other accounts. *
* * @param nextToken * The token that specifies the next page of results to return. To request the first page, leave NextToken * empty. The token will expire in 24 hours, and cannot be shared with other accounts. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** ** The token that specifies the next page of results to return. To request the first page, leave NextToken empty. * The token will expire in 24 hours, and cannot be shared with other accounts. *
* * @return The token that specifies the next page of results to return. To request the first page, leave NextToken * empty. The token will expire in 24 hours, and cannot be shared with other accounts. */ public String getNextToken() { return this.nextToken; } /** ** The token that specifies the next page of results to return. To request the first page, leave NextToken empty. * The token will expire in 24 hours, and cannot be shared with other accounts. *
* * @param nextToken * The token that specifies the next page of results to return. To request the first page, leave NextToken * empty. The token will expire in 24 hours, and cannot be shared with other accounts. * @return Returns a reference to this object so that method calls can be chained together. */ public SearchSchemasResult withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** ** An array of SearchSchemaSummary information. *
* * @return An array of SearchSchemaSummary information. */ public java.util.List* An array of SearchSchemaSummary information. *
* * @param schemas * An array of SearchSchemaSummary information. */ public void setSchemas(java.util.Collection* An array of SearchSchemaSummary information. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSchemas(java.util.Collection)} or {@link #withSchemas(java.util.Collection)} if you want to override * the existing values. *
* * @param schemas * An array of SearchSchemaSummary information. * @return Returns a reference to this object so that method calls can be chained together. */ public SearchSchemasResult withSchemas(SearchSchemaSummary... schemas) { if (this.schemas == null) { setSchemas(new java.util.ArrayList* An array of SearchSchemaSummary information. *
* * @param schemas * An array of SearchSchemaSummary information. * @return Returns a reference to this object so that method calls can be chained together. */ public SearchSchemasResult withSchemas(java.util.Collection