@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RuleAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CATEGORY |
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_CUSTOM |
static String |
JSON_PROPERTY_DESCRIPTION |
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_MODIFIED_AT |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_OWNER |
static String |
JSON_PROPERTY_SCORECARD_NAME |
boolean |
unparsed |
| Constructor and Description |
|---|
RuleAttributes() |
| Modifier and Type | Method and Description |
|---|---|
RuleAttributes |
category(String category) |
RuleAttributes |
createdAt(OffsetDateTime createdAt) |
RuleAttributes |
custom(Boolean custom) |
RuleAttributes |
description(String description) |
RuleAttributes |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this RuleAttributes 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 |
getCategory()
Deprecated.
|
OffsetDateTime |
getCreatedAt()
Creation time of the rule outcome.
|
Boolean |
getCustom()
Defines if the rule is a custom rule.
|
String |
getDescription()
Explanation of the rule.
|
Boolean |
getEnabled()
If enabled, the rule is calculated as part of the score.
|
OffsetDateTime |
getModifiedAt()
Time of the last rule outcome modification.
|
String |
getName()
Name of the rule.
|
String |
getOwner()
Owner of the rule.
|
String |
getScorecardName()
The scorecard name to which this rule must belong.
|
int |
hashCode() |
RuleAttributes |
modifiedAt(OffsetDateTime modifiedAt) |
RuleAttributes |
name(String name) |
RuleAttributes |
owner(String owner) |
RuleAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
RuleAttributes |
scorecardName(String scorecardName) |
void |
setCategory(String category)
Deprecated.
|
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setCustom(Boolean custom) |
void |
setDescription(String description) |
void |
setEnabled(Boolean enabled) |
void |
setModifiedAt(OffsetDateTime modifiedAt) |
void |
setName(String name) |
void |
setOwner(String owner) |
void |
setScorecardName(String scorecardName) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CATEGORY
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CUSTOM
public static final String JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_MODIFIED_AT
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_OWNER
public static final String JSON_PROPERTY_SCORECARD_NAME
public RuleAttributes category(String category)
@Deprecated @Nullable public String getCategory()
@Deprecated public void setCategory(String category)
public RuleAttributes createdAt(OffsetDateTime createdAt)
@Nullable public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public RuleAttributes custom(Boolean custom)
@Nullable public Boolean getCustom()
public void setCustom(Boolean custom)
public RuleAttributes description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
public RuleAttributes enabled(Boolean enabled)
@Nullable public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public RuleAttributes modifiedAt(OffsetDateTime modifiedAt)
@Nullable public OffsetDateTime getModifiedAt()
public void setModifiedAt(OffsetDateTime modifiedAt)
public RuleAttributes name(String name)
@Nullable public String getName()
public void setName(String name)
public RuleAttributes owner(String owner)
@Nullable public String getOwner()
public void setOwner(String owner)
public RuleAttributes scorecardName(String scorecardName)
@Nullable public String getScorecardName()
public void setScorecardName(String scorecardName)
public RuleAttributes 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 © 2024. All rights reserved.