@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RuleBasedViewRule extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_COMPLIANCE_FRAMEWORKS |
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_RESOURCE_ATTRIBUTES |
static String |
JSON_PROPERTY_RESOURCE_CATEGORY |
static String |
JSON_PROPERTY_RESOURCE_TYPE |
static String |
JSON_PROPERTY_STATS |
static String |
JSON_PROPERTY_STATUS |
static String |
JSON_PROPERTY_TAGS |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
RuleBasedViewRule() |
RuleBasedViewRule(List<RuleBasedViewComplianceFramework> complianceFrameworks,
Boolean enabled,
String id,
String name,
List<String> resourceAttributes,
String resourceCategory,
String resourceType,
RuleBasedViewRuleStats stats,
String status,
List<String> tags,
RuleBasedViewRuleCategory type) |
| Modifier and Type | Method and Description |
|---|---|
RuleBasedViewRule |
addComplianceFrameworksItem(RuleBasedViewComplianceFramework complianceFrameworksItem) |
RuleBasedViewRule |
addResourceAttributesItem(String resourceAttributesItem) |
RuleBasedViewRule |
addTagsItem(String tagsItem) |
RuleBasedViewRule |
complianceFrameworks(List<RuleBasedViewComplianceFramework> complianceFrameworks) |
RuleBasedViewRule |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this RuleBasedViewRule 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.
|
List<RuleBasedViewComplianceFramework> |
getComplianceFrameworks()
List of compliance framework mappings associated with the rule.
|
Boolean |
getEnabled()
Whether the rule is enabled.
|
String |
getId()
Unique identifier of the rule.
|
String |
getName()
Human-readable name of the rule.
|
List<String> |
getResourceAttributes()
List of resource attribute names exposed by the rule.
|
String |
getResourceCategory()
Resource category targeted by the rule.
|
String |
getResourceType()
Resource type targeted by the rule.
|
RuleBasedViewRuleStats |
getStats()
Counts of findings for the rule, grouped by their evaluation status.
|
String |
getStatus()
Severity associated with the rule (for example,
info, low,
medium, high, or critical). |
List<String> |
getTags()
List of tags attached to the rule.
|
RuleBasedViewRuleCategory |
getType()
The category of the security rule.
|
int |
hashCode() |
RuleBasedViewRule |
id(String id) |
RuleBasedViewRule |
name(String name) |
RuleBasedViewRule |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
RuleBasedViewRule |
resourceAttributes(List<String> resourceAttributes) |
RuleBasedViewRule |
resourceCategory(String resourceCategory) |
RuleBasedViewRule |
resourceType(String resourceType) |
void |
setComplianceFrameworks(List<RuleBasedViewComplianceFramework> complianceFrameworks) |
void |
setEnabled(Boolean enabled) |
void |
setId(String id) |
void |
setName(String name) |
void |
setResourceAttributes(List<String> resourceAttributes) |
void |
setResourceCategory(String resourceCategory) |
void |
setResourceType(String resourceType) |
void |
setStats(RuleBasedViewRuleStats stats) |
void |
setStatus(String status) |
void |
setTags(List<String> tags) |
void |
setType(RuleBasedViewRuleCategory type) |
RuleBasedViewRule |
stats(RuleBasedViewRuleStats stats) |
RuleBasedViewRule |
status(String status) |
RuleBasedViewRule |
tags(List<String> tags) |
String |
toString() |
RuleBasedViewRule |
type(RuleBasedViewRuleCategory type) |
public boolean unparsed
public static final String JSON_PROPERTY_COMPLIANCE_FRAMEWORKS
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_RESOURCE_ATTRIBUTES
public static final String JSON_PROPERTY_RESOURCE_CATEGORY
public static final String JSON_PROPERTY_RESOURCE_TYPE
public static final String JSON_PROPERTY_STATS
public static final String JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_TYPE
public RuleBasedViewRule()
public RuleBasedViewRule(List<RuleBasedViewComplianceFramework> complianceFrameworks, Boolean enabled, String id, String name, List<String> resourceAttributes, String resourceCategory, String resourceType, RuleBasedViewRuleStats stats, String status, List<String> tags, RuleBasedViewRuleCategory type)
public RuleBasedViewRule complianceFrameworks(List<RuleBasedViewComplianceFramework> complianceFrameworks)
public RuleBasedViewRule addComplianceFrameworksItem(RuleBasedViewComplianceFramework complianceFrameworksItem)
public List<RuleBasedViewComplianceFramework> getComplianceFrameworks()
public void setComplianceFrameworks(List<RuleBasedViewComplianceFramework> complianceFrameworks)
public RuleBasedViewRule enabled(Boolean enabled)
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public RuleBasedViewRule id(String id)
public String getId()
public void setId(String id)
public RuleBasedViewRule name(String name)
public String getName()
public void setName(String name)
public RuleBasedViewRule resourceAttributes(List<String> resourceAttributes)
public RuleBasedViewRule addResourceAttributesItem(String resourceAttributesItem)
public List<String> getResourceAttributes()
public RuleBasedViewRule resourceCategory(String resourceCategory)
public String getResourceCategory()
public void setResourceCategory(String resourceCategory)
public RuleBasedViewRule resourceType(String resourceType)
public String getResourceType()
public void setResourceType(String resourceType)
public RuleBasedViewRule stats(RuleBasedViewRuleStats stats)
public RuleBasedViewRuleStats getStats()
public void setStats(RuleBasedViewRuleStats stats)
public RuleBasedViewRule status(String status)
public String getStatus()
info, low,
medium, high, or critical).public void setStatus(String status)
public RuleBasedViewRule tags(List<String> tags)
public RuleBasedViewRule addTagsItem(String tagsItem)
public RuleBasedViewRule type(RuleBasedViewRuleCategory type)
public RuleBasedViewRuleCategory getType()
public void setType(RuleBasedViewRuleCategory type)
public RuleBasedViewRule 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.