@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SecretRuleDataAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DEFAULT_INCLUDED_KEYWORDS |
static String |
JSON_PROPERTY_DESCRIPTION |
static String |
JSON_PROPERTY_LICENSE |
static String |
JSON_PROPERTY_MATCH_VALIDATION |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_PATTERN |
static String |
JSON_PROPERTY_PRIORITY |
static String |
JSON_PROPERTY_SDS_ID |
static String |
JSON_PROPERTY_VALIDATORS |
boolean |
unparsed |
| Constructor and Description |
|---|
SecretRuleDataAttributes() |
| Modifier and Type | Method and Description |
|---|---|
SecretRuleDataAttributes |
addDefaultIncludedKeywordsItem(String defaultIncludedKeywordsItem) |
SecretRuleDataAttributes |
addValidatorsItem(String validatorsItem) |
SecretRuleDataAttributes |
defaultIncludedKeywords(List<String> defaultIncludedKeywords) |
SecretRuleDataAttributes |
description(String description) |
boolean |
equals(Object o)
Return true if this SecretRuleDataAttributes 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<String> |
getDefaultIncludedKeywords()
A list of keywords that are included by default when scanning for secrets matching this rule.
|
String |
getDescription()
A detailed explanation of what type of secret this rule detects.
|
String |
getLicense()
The license under which this secret rule is distributed.
|
SecretRuleDataAttributesMatchValidation |
getMatchValidation()
Configuration for validating whether a detected secret is active by making an HTTP request and
inspecting the response.
|
String |
getName()
The unique name of the secret detection rule.
|
String |
getPattern()
The regular expression pattern used to identify potential secrets in source code or
configuration.
|
String |
getPriority()
The priority level of this rule, used to rank findings when multiple rules match.
|
String |
getSdsId()
The identifier of the corresponding Sensitive Data Scanner rule, if one exists.
|
List<String> |
getValidators()
A list of validator identifiers used to further confirm a detected secret is genuine.
|
int |
hashCode() |
SecretRuleDataAttributes |
license(String license) |
SecretRuleDataAttributes |
matchValidation(SecretRuleDataAttributesMatchValidation matchValidation) |
SecretRuleDataAttributes |
name(String name) |
SecretRuleDataAttributes |
pattern(String pattern) |
SecretRuleDataAttributes |
priority(String priority) |
SecretRuleDataAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SecretRuleDataAttributes |
sdsId(String sdsId) |
void |
setDefaultIncludedKeywords(List<String> defaultIncludedKeywords) |
void |
setDescription(String description) |
void |
setLicense(String license) |
void |
setMatchValidation(SecretRuleDataAttributesMatchValidation matchValidation) |
void |
setName(String name) |
void |
setPattern(String pattern) |
void |
setPriority(String priority) |
void |
setSdsId(String sdsId) |
void |
setValidators(List<String> validators) |
String |
toString() |
SecretRuleDataAttributes |
validators(List<String> validators) |
public boolean unparsed
public static final String JSON_PROPERTY_DEFAULT_INCLUDED_KEYWORDS
public static final String JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_LICENSE
public static final String JSON_PROPERTY_MATCH_VALIDATION
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_PATTERN
public static final String JSON_PROPERTY_PRIORITY
public static final String JSON_PROPERTY_SDS_ID
public static final String JSON_PROPERTY_VALIDATORS
public SecretRuleDataAttributes defaultIncludedKeywords(List<String> defaultIncludedKeywords)
public SecretRuleDataAttributes addDefaultIncludedKeywordsItem(String defaultIncludedKeywordsItem)
@Nullable public List<String> getDefaultIncludedKeywords()
public void setDefaultIncludedKeywords(List<String> defaultIncludedKeywords)
public SecretRuleDataAttributes description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
public SecretRuleDataAttributes license(String license)
@Nullable public String getLicense()
public void setLicense(String license)
public SecretRuleDataAttributes matchValidation(SecretRuleDataAttributesMatchValidation matchValidation)
@Nullable public SecretRuleDataAttributesMatchValidation getMatchValidation()
public void setMatchValidation(SecretRuleDataAttributesMatchValidation matchValidation)
public SecretRuleDataAttributes name(String name)
@Nullable public String getName()
public void setName(String name)
public SecretRuleDataAttributes pattern(String pattern)
@Nullable public String getPattern()
public void setPattern(String pattern)
public SecretRuleDataAttributes priority(String priority)
@Nullable public String getPriority()
public void setPriority(String priority)
public SecretRuleDataAttributes sdsId(String sdsId)
@Nullable public String getSdsId()
public void setSdsId(String sdsId)
public SecretRuleDataAttributes validators(List<String> validators)
public SecretRuleDataAttributes addValidatorsItem(String validatorsItem)
@Nullable public List<String> getValidators()
public SecretRuleDataAttributes 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.