@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TagPolicyScoreAttributes 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 |
|---|
TagPolicyScoreAttributes() |
TagPolicyScoreAttributes(Double score,
Long tsEnd,
Long tsStart,
Long version) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this TagPolicyScoreAttributes 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 policy 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 policy that the score was computed against.
|
int |
hashCode() |
TagPolicyScoreAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
TagPolicyScoreAttributes |
score(Double score) |
void |
setScore(Double score) |
void |
setTsEnd(Long tsEnd) |
void |
setTsStart(Long tsStart) |
void |
setVersion(Long version) |
String |
toString() |
TagPolicyScoreAttributes |
tsEnd(Long tsEnd) |
TagPolicyScoreAttributes |
tsStart(Long tsStart) |
TagPolicyScoreAttributes |
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 TagPolicyScoreAttributes score(Double score)
@Nullable public Double getScore()
null indicates that no relevant telemetry was found.public void setScore(Double score)
public TagPolicyScoreAttributes tsEnd(Long tsEnd)
public Long getTsEnd()
public void setTsEnd(Long tsEnd)
public TagPolicyScoreAttributes tsStart(Long tsStart)
public Long getTsStart()
public void setTsStart(Long tsStart)
public TagPolicyScoreAttributes version(Long version)
public Long getVersion()
public void setVersion(Long version)
public TagPolicyScoreAttributes 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.