Package com.datadog.api.client.v2.model
Class SecurityMonitoringCriticalAssetCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.SecurityMonitoringCriticalAssetCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SecurityMonitoringCriticalAssetCreateAttributes
extends Object
Object containing the attributes of the critical asset to be created.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSecurityMonitoringCriticalAssetCreateAttributes(String query, String ruleQuery, SecurityMonitoringCriticalAssetSeverity severity) -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) description(String description) booleanReturn true if this SecurityMonitoringCriticalAssetCreateAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A description of the critical asset.Whether the critical asset is enabled.getQuery()The query for the critical asset.The rule query of the critical asset, with the same syntax as the search bar for detection rules.Severity associated with this critical asset.getTags()List of tags associated with the critical asset.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidsetEnabled(Boolean enabled) voidvoidsetRuleQuery(String ruleQuery) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_RULE_QUERY
- See Also:
-
JSON_PROPERTY_SEVERITY
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
-
Constructor Details
-
SecurityMonitoringCriticalAssetCreateAttributes
public SecurityMonitoringCriticalAssetCreateAttributes() -
SecurityMonitoringCriticalAssetCreateAttributes
public SecurityMonitoringCriticalAssetCreateAttributes(String query, String ruleQuery, SecurityMonitoringCriticalAssetSeverity severity)
-
-
Method Details
-
description
-
getDescription
A description of the critical asset.- Returns:
- description
-
setDescription
-
enabled
-
getEnabled
Whether the critical asset is enabled. Defaults totrueif not specified.- Returns:
- enabled
-
setEnabled
-
query
-
getQuery
The query for the critical asset. It uses the same syntax as the queries to search signals in the Signals Explorer.- Returns:
- query
-
setQuery
-
ruleQuery
-
getRuleQuery
The rule query of the critical asset, with the same syntax as the search bar for detection rules. This determines which rules this critical asset will apply to.- Returns:
- ruleQuery
-
setRuleQuery
-
severity
public SecurityMonitoringCriticalAssetCreateAttributes severity(SecurityMonitoringCriticalAssetSeverity severity) -
getSeverity
Severity associated with this critical asset. Either an explicit severity can be set, or the severity can be increased or decreased, or the severity can be left unchanged (no-op).- Returns:
- severity
-
setSeverity
-
tags
-
addTagsItem
-
getTags
List of tags associated with the critical asset.- Returns:
- tags
-
setTags
-
putAdditionalProperty
public SecurityMonitoringCriticalAssetCreateAttributes putAdditionalProperty(String key, Object value) 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:
- SecurityMonitoringCriticalAssetCreateAttributes
-
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 SecurityMonitoringCriticalAssetCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-