Package com.datadog.api.client.v2.model
Class CustomRulesetRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CustomRulesetRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomRulesetRequestDataAttributes
extends Object
Attributes for creating or updating a custom ruleset.
name is required and must
equal the resource id; the server rejects a mismatch with a 412 response.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddRulesItem(CustomRule rulesItem) description(String description) booleanReturn true if this CustomRulesetRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Base64-encoded full descriptiongetName()Ruleset name, which must be the same as the resource identifier.getRules()Rules in the rulesetorg.openapitools.jackson.nullable.JsonNullable<List<CustomRule>>Base64-encoded short descriptioninthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rules(List<CustomRule> rules) voidsetDescription(String description) voidvoidsetRules(List<CustomRule> rules) voidsetRules_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<CustomRule>> rules) voidsetShortDescription(String shortDescription) shortDescription(String shortDescription) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RULES
- See Also:
-
JSON_PROPERTY_SHORT_DESCRIPTION
- See Also:
-
-
Constructor Details
-
CustomRulesetRequestDataAttributes
public CustomRulesetRequestDataAttributes() -
CustomRulesetRequestDataAttributes
-
-
Method Details
-
description
-
getDescription
Base64-encoded full description- Returns:
- description
-
setDescription
-
name
-
getName
Ruleset name, which must be the same as the resource identifier.- Returns:
- name
-
setName
-
rules
-
addRulesItem
-
getRules
Rules in the ruleset- Returns:
- rules
-
getRules_JsonNullable
-
setRules_JsonNullable
public void setRules_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<CustomRule>> rules) -
setRules
-
shortDescription
-
getShortDescription
Base64-encoded short description- Returns:
- shortDescription
-
setShortDescription
-
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:
- CustomRulesetRequestDataAttributes
-
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 CustomRulesetRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-