Package com.datadog.api.client.v2.model
Class GovernanceInsightAuditQuery
java.lang.Object
com.datadog.api.client.v2.model.GovernanceInsightAuditQuery
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GovernanceInsightAuditQuery
extends Object
An audit log query used to compute an insight value.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGovernanceInsightAuditQuery(GovernanceInsightAuditCompute compute, List<String> indexes, String query, String source) -
Method Summary
Modifier and TypeMethodDescriptionaddIndexesItem(String indexesItem) compute(GovernanceInsightAuditCompute compute) booleanReturn true if this GovernanceInsightAuditQuery object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The aggregation applied to an audit log query.The audit log indexes the query runs against.getQuery()The audit log search query string.The data source the query runs against.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCompute(GovernanceInsightAuditCompute compute) voidsetIndexes(List<String> indexes) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPUTE
- See Also:
-
JSON_PROPERTY_INDEXES
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
-
Constructor Details
-
GovernanceInsightAuditQuery
public GovernanceInsightAuditQuery() -
GovernanceInsightAuditQuery
public GovernanceInsightAuditQuery(GovernanceInsightAuditCompute compute, List<String> indexes, String query, String source)
-
-
Method Details
-
compute
-
getCompute
The aggregation applied to an audit log query.- Returns:
- compute
-
setCompute
-
indexes
-
addIndexesItem
-
getIndexes
The audit log indexes the query runs against.- Returns:
- indexes
-
setIndexes
-
query
-
getQuery
The audit log search query string.- Returns:
- query
-
setQuery
-
source
-
getSource
The data source the query runs against.- Returns:
- source
-
setSource
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- GovernanceInsightAuditQuery
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this GovernanceInsightAuditQuery object is equal to o. -
hashCode
public int hashCode() -
toString
-