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 DataSourceDetailsInformation 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 classLoggingQueryDataSourceDetails.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.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetAdditionalEntitiesCount()The additional entities count used for data source queryIntegergetIntervalInMinutes()Interval in minutes that query is run periodically.LoggingQueryDetailsgetLoggingQueryDetails()LoggingQueryTypegetLoggingQueryType()Type of logging query for data source (Sighting/Insight)LoggingQueryOperatorTypegetOperator()Operator used in data sourceStringgetQuery()The continuous query expression that is run periodicallContinuousQueryStartPolicygetQueryStartTime()List<String>getRegions()List of logging query regionsIntegergetThreshold()The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an eventinthashCode()LoggingQueryDataSourceDetails.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin classDataSourceDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classDataSourceDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDataSourceDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDataSourceDetails
-
-