@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TagRuleScoreAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_SCORE |
static String |
JSON_PROPERTY_TS_END |
static String |
JSON_PROPERTY_TS_START |
static String |
JSON_PROPERTY_VERSION |
boolean |
unparsed |
| Constructor and Description |
|---|
TagRuleScoreAttributes() |
TagRuleScoreAttributes(Double score,
Long tsEnd,
Long tsStart,
Long version) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this TagRuleScoreAttributes 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.
|
Double |
getScore()
The compliance score for the rule over the requested time window, as a percentage between 0 and
100.
|
Long |
getTsEnd()
End of the time window the score was computed over, as a Unix timestamp in milliseconds.
|
Long |
getTsStart()
Start of the time window the score was computed over, as a Unix timestamp in milliseconds.
|
Long |
getVersion()
The version of the tag rule that the score was computed against.
|
int |
hashCode() |
TagRuleScoreAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
TagRuleScoreAttributes |
score(Double score) |
void |
setScore(Double score) |
void |
setTsEnd(Long tsEnd) |
void |
setTsStart(Long tsStart) |
void |
setVersion(Long version) |
String |
toString() |
TagRuleScoreAttributes |
tsEnd(Long tsEnd) |
TagRuleScoreAttributes |
tsStart(Long tsStart) |
TagRuleScoreAttributes |
version(Long version) |
public boolean unparsed
public static final String JSON_PROPERTY_SCORE
public static final String JSON_PROPERTY_TS_END
public static final String JSON_PROPERTY_TS_START
public static final String JSON_PROPERTY_VERSION
public TagRuleScoreAttributes score(Double score)
@Nullable public Double getScore()
null indicates that no relevant telemetry was found.public void setScore(Double score)
public TagRuleScoreAttributes tsEnd(Long tsEnd)
public Long getTsEnd()
public void setTsEnd(Long tsEnd)
public TagRuleScoreAttributes tsStart(Long tsStart)
public Long getTsStart()
public void setTsStart(Long tsStart)
public TagRuleScoreAttributes version(Long version)
public Long getVersion()
public void setVersion(Long version)
public TagRuleScoreAttributes 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.