public static class LoggingQueryDataSourceDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public LoggingQueryDataSourceDetails.Builder regions(List<String> regions)
List of logging query regions
regions
- the value to setpublic LoggingQueryDataSourceDetails.Builder query(String query)
The continuous query expression that is run periodicall
query
- the value to setpublic LoggingQueryDataSourceDetails.Builder intervalInMinutes(Integer intervalInMinutes)
Interval in minutes that query is run periodically.
intervalInMinutes
- the value to setpublic LoggingQueryDataSourceDetails.Builder threshold(Integer threshold)
The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
threshold
- the value to setpublic LoggingQueryDataSourceDetails.Builder queryStartTime(ContinuousQueryStartPolicy queryStartTime)
public LoggingQueryDataSourceDetails.Builder operator(LoggingQueryOperatorType operator)
Operator used in data source
operator
- the value to setpublic LoggingQueryDataSourceDetails.Builder loggingQueryType(LoggingQueryType loggingQueryType)
Type of logging query for data source (Sighting/Insight)
loggingQueryType
- the value to setpublic LoggingQueryDataSourceDetails.Builder additionalEntitiesCount(Integer additionalEntitiesCount)
The additional entities count used for data source query
additionalEntitiesCount
- the value to setpublic LoggingQueryDataSourceDetails.Builder loggingQueryDetails(LoggingQueryDetails loggingQueryDetails)
public LoggingQueryDataSourceDetails build()
public LoggingQueryDataSourceDetails.Builder copy(LoggingQueryDataSourceDetails model)
Copyright © 2016–2024. All rights reserved.