* Approximate number of results in the response. *
*/ private Integer approximateResultCount; /** ** List of items matching the Raster DataCollectionQuery. *
*/ private java.util.List* If the previous response was truncated, you receive this token. Use it in your next request to receive the next * set of results. *
*/ private String nextToken; /** ** Approximate number of results in the response. *
* * @param approximateResultCount * Approximate number of results in the response. */ public void setApproximateResultCount(Integer approximateResultCount) { this.approximateResultCount = approximateResultCount; } /** ** Approximate number of results in the response. *
* * @return Approximate number of results in the response. */ public Integer getApproximateResultCount() { return this.approximateResultCount; } /** ** Approximate number of results in the response. *
* * @param approximateResultCount * Approximate number of results in the response. * @return Returns a reference to this object so that method calls can be chained together. */ public SearchRasterDataCollectionResult withApproximateResultCount(Integer approximateResultCount) { setApproximateResultCount(approximateResultCount); return this; } /** ** List of items matching the Raster DataCollectionQuery. *
* * @return List of items matching the Raster DataCollectionQuery. */ public java.util.List* List of items matching the Raster DataCollectionQuery. *
* * @param items * List of items matching the Raster DataCollectionQuery. */ public void setItems(java.util.Collection* List of items matching the Raster DataCollectionQuery. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setItems(java.util.Collection)} or {@link #withItems(java.util.Collection)} if you want to override the * existing values. *
* * @param items * List of items matching the Raster DataCollectionQuery. * @return Returns a reference to this object so that method calls can be chained together. */ public SearchRasterDataCollectionResult withItems(ItemSource... items) { if (this.items == null) { setItems(new java.util.ArrayList* List of items matching the Raster DataCollectionQuery. *
* * @param items * List of items matching the Raster DataCollectionQuery. * @return Returns a reference to this object so that method calls can be chained together. */ public SearchRasterDataCollectionResult withItems(java.util.Collection* If the previous response was truncated, you receive this token. Use it in your next request to receive the next * set of results. *
* * @param nextToken * If the previous response was truncated, you receive this token. Use it in your next request to receive the * next set of results. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** ** If the previous response was truncated, you receive this token. Use it in your next request to receive the next * set of results. *
* * @return If the previous response was truncated, you receive this token. Use it in your next request to receive * the next set of results. */ public String getNextToken() { return this.nextToken; } /** ** If the previous response was truncated, you receive this token. Use it in your next request to receive the next * set of results. *
* * @param nextToken * If the previous response was truncated, you receive this token. Use it in your next request to receive the * next set of results. * @return Returns a reference to this object so that method calls can be chained together. */ public SearchRasterDataCollectionResult withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getApproximateResultCount() != null) sb.append("ApproximateResultCount: ").append(getApproximateResultCount()).append(","); if (getItems() != null) sb.append("Items: ").append(getItems()).append(","); if (getNextToken() != null) sb.append("NextToken: ").append("***Sensitive Data Redacted***"); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof SearchRasterDataCollectionResult == false) return false; SearchRasterDataCollectionResult other = (SearchRasterDataCollectionResult) obj; if (other.getApproximateResultCount() == null ^ this.getApproximateResultCount() == null) return false; if (other.getApproximateResultCount() != null && other.getApproximateResultCount().equals(this.getApproximateResultCount()) == false) return false; if (other.getItems() == null ^ this.getItems() == null) return false; if (other.getItems() != null && other.getItems().equals(this.getItems()) == false) return false; if (other.getNextToken() == null ^ this.getNextToken() == null) return false; if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getApproximateResultCount() == null) ? 0 : getApproximateResultCount().hashCode()); hashCode = prime * hashCode + ((getItems() == null) ? 0 : getItems().hashCode()); hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode()); return hashCode; } @Override public SearchRasterDataCollectionResult clone() { try { return (SearchRasterDataCollectionResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }