Package com.datadog.api.client.v2.model
Class RuleAttributes
java.lang.Object
com.datadog.api.client.v2.model.RuleAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RuleAttributes
extends Object
Details of a rule.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) description(String description) booleanReturn true if this RuleAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Deprecated.Creation time of the rule outcome.Defines if the rule is a custom rule.Explanation of the rule.If enabled, the rule is calculated as part of the score.getLevel()The maturity level of the rule (1, 2, or 3).Time of the last rule outcome modification.getName()Name of the rule.getOwner()Owner of the rule.A query to filter which entities this rule applies to.The scorecard name to which this rule must belong.inthashCode()modifiedAt(OffsetDateTime modifiedAt) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.scopeQuery(String scopeQuery) scorecardName(String scorecardName) voidsetCategory(String category) Deprecated.voidsetCreatedAt(OffsetDateTime createdAt) voidvoidsetDescription(String description) voidsetEnabled(Boolean enabled) voidvoidsetModifiedAt(OffsetDateTime modifiedAt) voidvoidvoidsetScopeQuery(String scopeQuery) voidsetScorecardName(String scorecardName) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CATEGORY
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CUSTOM
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_LEVEL
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OWNER
- See Also:
-
JSON_PROPERTY_SCOPE_QUERY
- See Also:
-
JSON_PROPERTY_SCORECARD_NAME
- See Also:
-
-
Constructor Details
-
RuleAttributes
public RuleAttributes()
-
-
Method Details
-
category
-
getCategory
Deprecated.The scorecard name to which this rule must belong.- Returns:
- category
-
setCategory
Deprecated. -
createdAt
-
getCreatedAt
Creation time of the rule outcome.- Returns:
- createdAt
-
setCreatedAt
-
custom
-
getCustom
Defines if the rule is a custom rule.- Returns:
- custom
-
setCustom
-
description
-
getDescription
Explanation of the rule.- Returns:
- description
-
setDescription
-
enabled
-
getEnabled
If enabled, the rule is calculated as part of the score.- Returns:
- enabled
-
setEnabled
-
level
-
getLevel
The maturity level of the rule (1, 2, or 3). minimum: 1 maximum: 3- Returns:
- level
-
setLevel
-
modifiedAt
-
getModifiedAt
Time of the last rule outcome modification.- Returns:
- modifiedAt
-
setModifiedAt
-
name
-
getName
Name of the rule.- Returns:
- name
-
setName
-
owner
-
getOwner
Owner of the rule.- Returns:
- owner
-
setOwner
-
scopeQuery
-
getScopeQuery
A query to filter which entities this rule applies to.- Returns:
- scopeQuery
-
setScopeQuery
-
scorecardName
-
getScorecardName
The scorecard name to which this rule must belong.- Returns:
- scorecardName
-
setScorecardName
-
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:
- RuleAttributes
-
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 RuleAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-