Package com.datadog.api.client.v2.model
Class JobDefinition
java.lang.Object
com.datadog.api.client.v2.model.JobDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class JobDefinition
extends Object
Definition of a historical job.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionJobDefinition(List<SecurityMonitoringRuleCaseCreate> cases, Long from, String index, String message, String name, List<HistoricalJobQuery> queries, Long to) -
Method Summary
Modifier and TypeMethodDescriptionaddCalculatedFieldsItem(CalculatedField calculatedFieldsItem) addCasesItem(SecurityMonitoringRuleCaseCreate casesItem) addGroupSignalsByItem(String groupSignalsByItem) addQueriesItem(HistoricalJobQuery queriesItem) addReferenceTablesItem(SecurityMonitoringReferenceTable referenceTablesItem) addTagsItem(String tagsItem) addThirdPartyCasesItem(SecurityMonitoringThirdPartyRuleCaseCreate thirdPartyCasesItem) calculatedFields(List<CalculatedField> calculatedFields) booleanReturn true if this JobDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Calculated fields.getCases()Cases used for generating job results.getFrom()Starting time of data analyzed by the job.Additional grouping to perform on top of the existing groups in the query section.getIndex()Index used to load the data.Message for generated results.getName()Job name.Job options.Queries for selecting logs analyzed by the job.Reference tables used in the queries.getTags()Tags for generated signals.Cases for generating results from third-party detection method.getTo()Ending time of data analyzed by the job.getType()Job type.groupSignalsBy(List<String> groupSignalsBy) inthashCode()options(HistoricalJobOptions options) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.queries(List<HistoricalJobQuery> queries) referenceTables(List<SecurityMonitoringReferenceTable> referenceTables) voidsetCalculatedFields(List<CalculatedField> calculatedFields) voidvoidvoidsetGroupSignalsBy(List<String> groupSignalsBy) voidvoidsetMessage(String message) voidvoidsetOptions(HistoricalJobOptions options) voidsetQueries(List<HistoricalJobQuery> queries) voidsetReferenceTables(List<SecurityMonitoringReferenceTable> referenceTables) voidvoidsetThirdPartyCases(List<SecurityMonitoringThirdPartyRuleCaseCreate> thirdPartyCases) voidvoidthirdPartyCases(List<SecurityMonitoringThirdPartyRuleCaseCreate> thirdPartyCases) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CALCULATED_FIELDS
- See Also:
-
JSON_PROPERTY_CASES
- See Also:
-
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_GROUP_SIGNALS_BY
- See Also:
-
JSON_PROPERTY_INDEX
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPTIONS
- See Also:
-
JSON_PROPERTY_QUERIES
- See Also:
-
JSON_PROPERTY_REFERENCE_TABLES
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_THIRD_PARTY_CASES
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
JobDefinition
public JobDefinition() -
JobDefinition
public JobDefinition(List<SecurityMonitoringRuleCaseCreate> cases, Long from, String index, String message, String name, List<HistoricalJobQuery> queries, Long to)
-
-
Method Details
-
calculatedFields
-
addCalculatedFieldsItem
-
getCalculatedFields
Calculated fields.- Returns:
- calculatedFields
-
setCalculatedFields
-
cases
-
addCasesItem
-
getCases
Cases used for generating job results. Up to 10 cases are allowed.- Returns:
- cases
-
setCases
-
from
-
getFrom
Starting time of data analyzed by the job.- Returns:
- from
-
setFrom
-
groupSignalsBy
-
addGroupSignalsByItem
-
getGroupSignalsBy
Additional grouping to perform on top of the existing groups in the query section. Must be a subset of the existing groups.- Returns:
- groupSignalsBy
-
setGroupSignalsBy
-
index
-
getIndex
Index used to load the data.- Returns:
- index
-
setIndex
-
message
-
getMessage
Message for generated results.- Returns:
- message
-
setMessage
-
name
-
getName
Job name.- Returns:
- name
-
setName
-
options
-
getOptions
Job options.- Returns:
- options
-
setOptions
-
queries
-
addQueriesItem
-
getQueries
Queries for selecting logs analyzed by the job. Up to 10 queries are allowed.- Returns:
- queries
-
setQueries
-
referenceTables
-
addReferenceTablesItem
-
getReferenceTables
Reference tables used in the queries.- Returns:
- referenceTables
-
setReferenceTables
-
tags
-
addTagsItem
-
getTags
Tags for generated signals.- Returns:
- tags
-
setTags
-
thirdPartyCases
public JobDefinition thirdPartyCases(List<SecurityMonitoringThirdPartyRuleCaseCreate> thirdPartyCases) -
addThirdPartyCasesItem
public JobDefinition addThirdPartyCasesItem(SecurityMonitoringThirdPartyRuleCaseCreate thirdPartyCasesItem) -
getThirdPartyCases
Cases for generating results from third-party detection method. Only available for third-party detection method. Up to 10 cases are allowed.- Returns:
- thirdPartyCases
-
setThirdPartyCases
-
to
-
getTo
Ending time of data analyzed by the job.- Returns:
- to
-
setTo
-
type
-
getType
Job type.- Returns:
- type
-
setType
-
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:
- JobDefinition
-
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 JobDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-