Package com.datadog.api.client.v2.model
Class SecurityMonitoringSignalRuleCreatePayload
java.lang.Object
com.datadog.api.client.v2.model.SecurityMonitoringSignalRuleCreatePayload
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SecurityMonitoringSignalRuleCreatePayload
extends Object
Create a new signal correlation rule.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSecurityMonitoringSignalRuleCreatePayload(List<SecurityMonitoringRuleCaseCreate> cases, Boolean isEnabled, String message, String name, SecurityMonitoringRuleOptions options, List<SecurityMonitoringSignalRuleQuery> queries) -
Method Summary
Modifier and TypeMethodDescriptionaddCasesItem(SecurityMonitoringRuleCaseCreate casesItem) addFiltersItem(SecurityMonitoringFilter filtersItem) addQueriesItem(SecurityMonitoringSignalRuleQuery queriesItem) addTagsItem(String tagsItem) booleanReturn true if this SecurityMonitoringSignalRuleCreatePayload object is equal to o.filters(List<SecurityMonitoringFilter> filters) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCases()Cases for generating signals.Additional queries to filter matched events before they are processed.Whether the notifications include the triggering group-by values in their title.Whether the rule is enabled.Message for generated signals.getName()The name of the rule.Options.Queries for selecting signals which are part of the rule.getTags()Tags for generated signals.getType()The rule type.hasExtendedTitle(Boolean hasExtendedTitle) inthashCode()options(SecurityMonitoringRuleOptions options) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.queries(List<SecurityMonitoringSignalRuleQuery> queries) voidvoidsetFilters(List<SecurityMonitoringFilter> filters) voidsetHasExtendedTitle(Boolean hasExtendedTitle) voidsetIsEnabled(Boolean isEnabled) voidsetMessage(String message) voidvoidsetOptions(SecurityMonitoringRuleOptions options) voidsetQueries(List<SecurityMonitoringSignalRuleQuery> queries) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CASES
- See Also:
-
JSON_PROPERTY_FILTERS
- See Also:
-
JSON_PROPERTY_HAS_EXTENDED_TITLE
- See Also:
-
JSON_PROPERTY_IS_ENABLED
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPTIONS
- See Also:
-
JSON_PROPERTY_QUERIES
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SecurityMonitoringSignalRuleCreatePayload
public SecurityMonitoringSignalRuleCreatePayload() -
SecurityMonitoringSignalRuleCreatePayload
public SecurityMonitoringSignalRuleCreatePayload(List<SecurityMonitoringRuleCaseCreate> cases, Boolean isEnabled, String message, String name, SecurityMonitoringRuleOptions options, List<SecurityMonitoringSignalRuleQuery> queries)
-
-
Method Details
-
cases
public SecurityMonitoringSignalRuleCreatePayload cases(List<SecurityMonitoringRuleCaseCreate> cases) -
addCasesItem
public SecurityMonitoringSignalRuleCreatePayload addCasesItem(SecurityMonitoringRuleCaseCreate casesItem) -
getCases
Cases for generating signals.- Returns:
- cases
-
setCases
-
filters
-
addFiltersItem
public SecurityMonitoringSignalRuleCreatePayload addFiltersItem(SecurityMonitoringFilter filtersItem) -
getFilters
Additional queries to filter matched events before they are processed. This field is deprecated for log detection, signal correlation, and workload security rules.- Returns:
- filters
-
setFilters
-
hasExtendedTitle
-
getHasExtendedTitle
Whether the notifications include the triggering group-by values in their title.- Returns:
- hasExtendedTitle
-
setHasExtendedTitle
-
isEnabled
-
getIsEnabled
Whether the rule is enabled.- Returns:
- isEnabled
-
setIsEnabled
-
message
-
getMessage
Message for generated signals.- Returns:
- message
-
setMessage
-
name
-
getName
The name of the rule.- Returns:
- name
-
setName
-
options
-
getOptions
Options.- Returns:
- options
-
setOptions
-
queries
public SecurityMonitoringSignalRuleCreatePayload queries(List<SecurityMonitoringSignalRuleQuery> queries) -
addQueriesItem
public SecurityMonitoringSignalRuleCreatePayload addQueriesItem(SecurityMonitoringSignalRuleQuery queriesItem) -
getQueries
Queries for selecting signals which are part of the rule.- Returns:
- queries
-
setQueries
-
tags
-
addTagsItem
-
getTags
Tags for generated signals.- Returns:
- tags
-
setTags
-
type
-
getType
The rule 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:
- SecurityMonitoringSignalRuleCreatePayload
-
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 SecurityMonitoringSignalRuleCreatePayload object is equal to o. -
hashCode
public int hashCode() -
toString
-