Package com.datadog.api.client.v2.model
Class CustomRulesetAttributes
java.lang.Object
com.datadog.api.client.v2.model.CustomRulesetAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomRulesetAttributes
extends Object
Attributes of a custom ruleset, including its name, description, and rules.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomRulesetAttributes(OffsetDateTime createdAt, String createdBy, String description, String name, List<CustomRulesetRuleEmbedded> rules, String shortDescription) -
Method Summary
Modifier and TypeMethodDescriptionaddRulesItem(CustomRulesetRuleEmbedded rulesItem) createdAt(OffsetDateTime createdAt) description(String description) booleanReturn true if this CustomRulesetAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Creation timestampCreator identifierBase64-encoded full descriptiongetName()Ruleset namegetRules()Rules in the rulesetBase64-encoded short descriptioninthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rules(List<CustomRulesetRuleEmbedded> rules) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(String createdBy) voidsetDescription(String description) voidvoidsetRules(List<CustomRulesetRuleEmbedded> rules) voidsetShortDescription(String shortDescription) shortDescription(String shortDescription) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RULES
- See Also:
-
JSON_PROPERTY_SHORT_DESCRIPTION
- See Also:
-
-
Constructor Details
-
CustomRulesetAttributes
public CustomRulesetAttributes() -
CustomRulesetAttributes
public CustomRulesetAttributes(OffsetDateTime createdAt, String createdBy, String description, String name, List<CustomRulesetRuleEmbedded> rules, String shortDescription)
-
-
Method Details
-
createdAt
-
getCreatedAt
Creation timestamp- Returns:
- createdAt
-
setCreatedAt
-
createdBy
-
getCreatedBy
Creator identifier- Returns:
- createdBy
-
setCreatedBy
-
description
-
getDescription
Base64-encoded full description- Returns:
- description
-
setDescription
-
name
-
getName
Ruleset name- Returns:
- name
-
setName
-
rules
-
addRulesItem
-
getRules
Rules in the ruleset- Returns:
- 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:
- CustomRulesetAttributes
-
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 CustomRulesetAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-