@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RuleAttributesRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DESCRIPTION |
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_LEVEL |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_OWNER |
static String |
JSON_PROPERTY_SCOPE_QUERY |
static String |
JSON_PROPERTY_SCORECARD_NAME |
boolean |
unparsed |
| Constructor and Description |
|---|
RuleAttributesRequest() |
| Modifier and Type | Method and Description |
|---|---|
RuleAttributesRequest |
description(String description) |
RuleAttributesRequest |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this RuleAttributesRequest object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getDescription()
Explanation of the rule.
|
Boolean |
getEnabled()
If enabled, the rule is calculated as part of the score.
|
Integer |
getLevel()
The maturity level of the rule (1, 2, or 3).
|
String |
getName()
Name of the rule.
|
String |
getOwner()
Owner of the rule.
|
String |
getScopeQuery()
A query to filter which entities this rule applies to.
|
String |
getScorecardName()
The scorecard name to which this rule must belong.
|
int |
hashCode() |
RuleAttributesRequest |
level(Integer level) |
RuleAttributesRequest |
name(String name) |
RuleAttributesRequest |
owner(String owner) |
RuleAttributesRequest |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
RuleAttributesRequest |
scopeQuery(String scopeQuery) |
RuleAttributesRequest |
scorecardName(String scorecardName) |
void |
setDescription(String description) |
void |
setEnabled(Boolean enabled) |
void |
setLevel(Integer level) |
void |
setName(String name) |
void |
setOwner(String owner) |
void |
setScopeQuery(String scopeQuery) |
void |
setScorecardName(String scorecardName) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_LEVEL
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_OWNER
public static final String JSON_PROPERTY_SCOPE_QUERY
public static final String JSON_PROPERTY_SCORECARD_NAME
public RuleAttributesRequest description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
public RuleAttributesRequest enabled(Boolean enabled)
@Nullable public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public RuleAttributesRequest level(Integer level)
@Nullable public Integer getLevel()
public void setLevel(Integer level)
public RuleAttributesRequest name(String name)
@Nullable public String getName()
public void setName(String name)
public RuleAttributesRequest owner(String owner)
@Nullable public String getOwner()
public void setOwner(String owner)
public RuleAttributesRequest scopeQuery(String scopeQuery)
@Nullable public String getScopeQuery()
public void setScopeQuery(String scopeQuery)
public RuleAttributesRequest scorecardName(String scorecardName)
@Nullable public String getScorecardName()
public void setScorecardName(String scorecardName)
public RuleAttributesRequest putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.