public class Source extends Object
Constructor and Description |
---|
Source() |
Modifier and Type | Method and Description |
---|---|
List<String> |
authorizedResources()
Get list of Resource referred into query.
|
String |
dataSourceId()
Get the resource uri over which log search query is to be run.
|
String |
query()
Get log search query.
|
QueryType |
queryType()
Get set value to 'ResultCount'.
|
Source |
withAuthorizedResources(List<String> authorizedResources)
Set list of Resource referred into query.
|
Source |
withDataSourceId(String dataSourceId)
Set the resource uri over which log search query is to be run.
|
Source |
withQuery(String query)
Set log search query.
|
Source |
withQueryType(QueryType queryType)
Set set value to 'ResultCount'.
|
public String query()
public Source withQuery(String query)
query
- the query value to setpublic List<String> authorizedResources()
public Source withAuthorizedResources(List<String> authorizedResources)
authorizedResources
- the authorizedResources value to setpublic String dataSourceId()
public Source withDataSourceId(String dataSourceId)
dataSourceId
- the dataSourceId value to setpublic QueryType queryType()
Copyright © 2019. All rights reserved.