public class QueryBody extends Object
| Constructor | Description |
|---|---|
QueryBody() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
query() |
Get the query to execute.
|
String |
timespan() |
Get optional.
|
QueryBody |
withQuery(String query) |
Set the query to execute.
|
QueryBody |
withTimespan(String timespan) |
Set optional.
|
QueryBody |
withWorkspaces(List<String> workspaces) |
Set a list of workspaces that are included in the query.
|
List<String> |
workspaces() |
Get a list of workspaces that are included in the query.
|
public String query()
public QueryBody withQuery(String query)
query - the query value to setpublic String timespan()
public QueryBody withTimespan(String timespan)
timespan - the timespan value to setpublic List<String> workspaces()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/