Package com.datadog.api.client.v2.model
Class SecurityMonitoringCriticalAssetUpdateAttributes
java.lang.Object
com.datadog.api.client.v2.model.SecurityMonitoringCriticalAssetUpdateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SecurityMonitoringCriticalAssetUpdateAttributes
extends Object
The critical asset properties to be updated.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) description(String description) booleanReturn true if this SecurityMonitoringCriticalAssetUpdateAttributes 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.The version of the critical asset being updated.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) voidvoidvoidsetVersion(Integer version) toString()
-
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:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
SecurityMonitoringCriticalAssetUpdateAttributes
public SecurityMonitoringCriticalAssetUpdateAttributes()
-
-
Method Details
-
description
-
getDescription
A description of the critical asset.- Returns:
- description
-
setDescription
-
enabled
-
getEnabled
Whether the critical asset is enabled.- 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 SecurityMonitoringCriticalAssetUpdateAttributes 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
-
version
-
getVersion
The version of the critical asset being updated. Used for optimistic locking to prevent concurrent modifications. maximum: 2147483647- Returns:
- version
-
setVersion
-
putAdditionalProperty
public SecurityMonitoringCriticalAssetUpdateAttributes 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:
- SecurityMonitoringCriticalAssetUpdateAttributes
-
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 SecurityMonitoringCriticalAssetUpdateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-