@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CustomRule extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_CREATED_BY |
static String |
JSON_PROPERTY_LAST_REVISION |
static String |
JSON_PROPERTY_NAME |
boolean |
unparsed |
| Constructor and Description |
|---|
CustomRule() |
CustomRule(OffsetDateTime createdAt,
String createdBy,
CustomRuleRevision lastRevision,
String name) |
| Modifier and Type | Method and Description |
|---|---|
CustomRule |
createdAt(OffsetDateTime createdAt) |
CustomRule |
createdBy(String createdBy) |
boolean |
equals(Object o)
Return true if this CustomRule 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.
|
OffsetDateTime |
getCreatedAt()
Creation timestamp
|
String |
getCreatedBy()
Creator identifier
|
CustomRuleRevision |
getLastRevision()
A specific revision of a custom static analysis rule.
|
String |
getName()
Rule name
|
int |
hashCode() |
CustomRule |
lastRevision(CustomRuleRevision lastRevision) |
CustomRule |
name(String name) |
CustomRule |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setCreatedBy(String createdBy) |
void |
setLastRevision(CustomRuleRevision lastRevision) |
void |
setName(String name) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_BY
public static final String JSON_PROPERTY_LAST_REVISION
public static final String JSON_PROPERTY_NAME
public CustomRule()
public CustomRule(OffsetDateTime createdAt, String createdBy, CustomRuleRevision lastRevision, String name)
public CustomRule createdAt(OffsetDateTime createdAt)
public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public CustomRule createdBy(String createdBy)
public String getCreatedBy()
public void setCreatedBy(String createdBy)
public CustomRule lastRevision(CustomRuleRevision lastRevision)
public CustomRuleRevision getLastRevision()
public void setLastRevision(CustomRuleRevision lastRevision)
public CustomRule name(String name)
public String getName()
public void setName(String name)
public CustomRule 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.