public final class Source extends Object
| Constructor and Description |
|---|
Source() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
authorizedResources()
Get the authorizedResources property: List of Resource referred into query.
|
String |
dataSourceId()
Get the dataSourceId property: The resource uri over which log search query is to be run.
|
String |
query()
Get the query property: Log search query.
|
QueryType |
queryType()
Get the queryType property: Set value to 'ResultCount' .
|
void |
validate()
Validates the instance.
|
Source |
withAuthorizedResources(List<String> authorizedResources)
Set the authorizedResources property: List of Resource referred into query.
|
Source |
withDataSourceId(String dataSourceId)
Set the dataSourceId property: The resource uri over which log search query is to be run.
|
Source |
withQuery(String query)
Set the query property: Log search query.
|
Source |
withQueryType(QueryType queryType)
Set the queryType property: Set value to 'ResultCount' .
|
public String query()
public Source withQuery(String query)
query - the query value to set.public List<String> authorizedResources()
public Source withAuthorizedResources(List<String> authorizedResources)
authorizedResources - the authorizedResources value to set.public String dataSourceId()
public Source withDataSourceId(String dataSourceId)
dataSourceId - the dataSourceId value to set.public QueryType queryType()
public Source withQueryType(QueryType queryType)
queryType - the queryType value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.