Package com.datadog.api.client.v2.model
Class SecurityMonitoringCriticalAssetAttributes
java.lang.Object
com.datadog.api.client.v2.model.SecurityMonitoringCriticalAssetAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SecurityMonitoringCriticalAssetAttributes
extends Object
The attributes of the critical asset.
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) creationAuthorId(Long creationAuthorId) creationDate(Long creationDate) creator(SecurityMonitoringUser creator) description(String description) booleanReturn true if this SecurityMonitoringCriticalAssetAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.ID of user who created the critical asset.A Unix millisecond timestamp given the creation date of the critical asset.A user.A description of the critical asset.Whether the critical asset is editable.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.ID of user who updated the critical asset.A Unix millisecond timestamp given the update date of the critical asset.A user.The version of the critical asset; it starts at 1, and is incremented at each update.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreationAuthorId(Long creationAuthorId) voidsetCreationDate(Long creationDate) voidsetCreator(SecurityMonitoringUser creator) voidsetDescription(String description) voidsetEditable(Boolean editable) voidsetEnabled(Boolean enabled) voidvoidsetRuleQuery(String ruleQuery) voidvoidvoidsetUpdateAuthorId(Long updateAuthorId) voidsetUpdateDate(Long updateDate) voidsetUpdater(SecurityMonitoringUser updater) voidsetVersion(Integer version) toString()updateAuthorId(Long updateAuthorId) updateDate(Long updateDate) updater(SecurityMonitoringUser updater)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATION_AUTHOR_ID
- See Also:
-
JSON_PROPERTY_CREATION_DATE
- See Also:
-
JSON_PROPERTY_CREATOR
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_EDITABLE
- 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_UPDATE_AUTHOR_ID
- See Also:
-
JSON_PROPERTY_UPDATE_DATE
- See Also:
-
JSON_PROPERTY_UPDATER
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
SecurityMonitoringCriticalAssetAttributes
public SecurityMonitoringCriticalAssetAttributes()
-
-
Method Details
-
creationAuthorId
-
getCreationAuthorId
ID of user who created the critical asset.- Returns:
- creationAuthorId
-
setCreationAuthorId
-
creationDate
-
getCreationDate
A Unix millisecond timestamp given the creation date of the critical asset.- Returns:
- creationDate
-
setCreationDate
-
creator
-
getCreator
A user.- Returns:
- creator
-
setCreator
-
description
-
getDescription
A description of the critical asset.- Returns:
- description
-
setDescription
-
editable
-
getEditable
Whether the critical asset is editable.- Returns:
- editable
-
setEditable
-
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 SecurityMonitoringCriticalAssetAttributes 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
-
updateAuthorId
-
getUpdateAuthorId
ID of user who updated the critical asset.- Returns:
- updateAuthorId
-
setUpdateAuthorId
-
updateDate
-
getUpdateDate
A Unix millisecond timestamp given the update date of the critical asset.- Returns:
- updateDate
-
setUpdateDate
-
updater
-
getUpdater
A user.- Returns:
- updater
-
setUpdater
-
version
-
getVersion
The version of the critical asset; it starts at 1, and is incremented at each update. maximum: 2147483647- Returns:
- version
-
setVersion
-
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:
- SecurityMonitoringCriticalAssetAttributes
-
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 SecurityMonitoringCriticalAssetAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-