Package com.oracle.bmc.cloudguard.model
Class LoggingQueryDataSourceDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudguard.model.DataSourceDetails
-
- com.oracle.bmc.cloudguard.model.LoggingQueryDataSourceDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class LoggingQueryDataSourceDetails extends DataSourceDetails
Information for a logging query for a data source.
Note: Objects should always be created or deserialized using theLoggingQueryDataSourceDetails.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theLoggingQueryDataSourceDetails.Builder
, which maintain a set of all explicitly set fields calledLoggingQueryDataSourceDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoggingQueryDataSourceDetails.Builder
-
Constructor Summary
Constructors Constructor Description LoggingQueryDataSourceDetails(List<String> regions, String query, Integer intervalInMinutes, Integer threshold, ContinuousQueryStartPolicy queryStartTime, LoggingQueryOperatorType operator, LoggingQueryType loggingQueryType, Integer additionalEntitiesCount, LoggingQueryDetails loggingQueryDetails)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LoggingQueryDataSourceDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getAdditionalEntitiesCount()
The additional entities count used for data source queryInteger
getIntervalInMinutes()
Interval in minutes that query is run periodically.LoggingQueryDetails
getLoggingQueryDetails()
LoggingQueryType
getLoggingQueryType()
Type of logging query for data source (Sighting/Insight)LoggingQueryOperatorType
getOperator()
Operator used in data sourceString
getQuery()
The continuous query expression that is run periodicallContinuousQueryStartPolicy
getQueryStartTime()
List<String>
getRegions()
List of logging query regionsInteger
getThreshold()
The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an eventint
hashCode()
LoggingQueryDataSourceDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
LoggingQueryDataSourceDetails
@Deprecated public LoggingQueryDataSourceDetails(List<String> regions, String query, Integer intervalInMinutes, Integer threshold, ContinuousQueryStartPolicy queryStartTime, LoggingQueryOperatorType operator, LoggingQueryType loggingQueryType, Integer additionalEntitiesCount, LoggingQueryDetails loggingQueryDetails)
Deprecated.
-
-
Method Detail
-
builder
public static LoggingQueryDataSourceDetails.Builder builder()
Create a new builder.
-
toBuilder
public LoggingQueryDataSourceDetails.Builder toBuilder()
-
getQuery
public String getQuery()
The continuous query expression that is run periodicall- Returns:
- the value
-
getIntervalInMinutes
public Integer getIntervalInMinutes()
Interval in minutes that query is run periodically.- Returns:
- the value
-
getThreshold
public Integer getThreshold()
The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event- Returns:
- the value
-
getQueryStartTime
public ContinuousQueryStartPolicy getQueryStartTime()
-
getOperator
public LoggingQueryOperatorType getOperator()
Operator used in data source- Returns:
- the value
-
getLoggingQueryType
public LoggingQueryType getLoggingQueryType()
Type of logging query for data source (Sighting/Insight)- Returns:
- the value
-
getAdditionalEntitiesCount
public Integer getAdditionalEntitiesCount()
The additional entities count used for data source query- Returns:
- the value
-
getLoggingQueryDetails
public LoggingQueryDetails getLoggingQueryDetails()
-
toString
public String toString()
- Overrides:
toString
in classDataSourceDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classDataSourceDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classDataSourceDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDataSourceDetails
-
-