@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SecretRuleData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
SecretRuleData() |
SecretRuleData(SecretRuleDataType type) |
| Modifier and Type | Method and Description |
|---|---|
SecretRuleData |
attributes(SecretRuleDataAttributes attributes) |
boolean |
equals(Object o)
Return true if this SecretRuleData 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.
|
SecretRuleDataAttributes |
getAttributes()
The attributes of a secret detection rule, including its pattern, priority, and validation
configuration.
|
String |
getId()
The unique identifier of the secret rule resource.
|
SecretRuleDataType |
getType()
Secret rule resource type.
|
int |
hashCode() |
SecretRuleData |
id(String id) |
SecretRuleData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAttributes(SecretRuleDataAttributes attributes) |
void |
setId(String id) |
void |
setType(SecretRuleDataType type) |
String |
toString() |
SecretRuleData |
type(SecretRuleDataType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_TYPE
public SecretRuleData()
public SecretRuleData(SecretRuleDataType type)
public SecretRuleData attributes(SecretRuleDataAttributes attributes)
@Nullable public SecretRuleDataAttributes getAttributes()
public void setAttributes(SecretRuleDataAttributes attributes)
public SecretRuleData id(String id)
@Nullable public String getId()
public void setId(String id)
public SecretRuleData type(SecretRuleDataType type)
public SecretRuleDataType getType()
public void setType(SecretRuleDataType type)
public SecretRuleData 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.