@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ScorecardScoreAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AGGREGATION |
static String |
JSON_PROPERTY_DENOMINATOR |
static String |
JSON_PROPERTY_LEVEL |
static String |
JSON_PROPERTY_NUMERATOR |
static String |
JSON_PROPERTY_SCORE |
static String |
JSON_PROPERTY_TOTAL_ENTITIES |
static String |
JSON_PROPERTY_TOTAL_FAIL |
static String |
JSON_PROPERTY_TOTAL_NO_DATA |
static String |
JSON_PROPERTY_TOTAL_PASS |
static String |
JSON_PROPERTY_TOTAL_SKIP |
boolean |
unparsed |
| Constructor and Description |
|---|
ScorecardScoreAttributes() |
| Modifier and Type | Method and Description |
|---|---|
ScorecardScoreAttributes |
aggregation(ScorecardScoresAggregation aggregation) |
ScorecardScoreAttributes |
denominator(Long denominator) |
boolean |
equals(Object o)
Return true if this ScorecardScoreAttributes 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.
|
ScorecardScoresAggregation |
getAggregation()
Dimension to group scores by.
|
Long |
getDenominator()
The denominator used to compute the score ratio.
|
Long |
getLevel()
The maturity level of the associated rule.
|
Long |
getNumerator()
The numerator used to compute the score ratio.
|
Double |
getScore()
The computed score ratio (numerator/denominator), from 0 to 1.
|
Long |
getTotalEntities()
The total number of entities evaluated.
|
Long |
getTotalFail()
The number of rules that failed.
|
Long |
getTotalNoData()
The number of rules with no data.
|
Long |
getTotalPass()
The number of rules that passed.
|
Long |
getTotalSkip()
The number of rules that were skipped.
|
int |
hashCode() |
ScorecardScoreAttributes |
level(Long level) |
ScorecardScoreAttributes |
numerator(Long numerator) |
ScorecardScoreAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
ScorecardScoreAttributes |
score(Double score) |
void |
setAggregation(ScorecardScoresAggregation aggregation) |
void |
setDenominator(Long denominator) |
void |
setLevel(Long level) |
void |
setNumerator(Long numerator) |
void |
setScore(Double score) |
void |
setTotalEntities(Long totalEntities) |
void |
setTotalFail(Long totalFail) |
void |
setTotalNoData(Long totalNoData) |
void |
setTotalPass(Long totalPass) |
void |
setTotalSkip(Long totalSkip) |
String |
toString() |
ScorecardScoreAttributes |
totalEntities(Long totalEntities) |
ScorecardScoreAttributes |
totalFail(Long totalFail) |
ScorecardScoreAttributes |
totalNoData(Long totalNoData) |
ScorecardScoreAttributes |
totalPass(Long totalPass) |
ScorecardScoreAttributes |
totalSkip(Long totalSkip) |
public boolean unparsed
public static final String JSON_PROPERTY_AGGREGATION
public static final String JSON_PROPERTY_DENOMINATOR
public static final String JSON_PROPERTY_LEVEL
public static final String JSON_PROPERTY_NUMERATOR
public static final String JSON_PROPERTY_SCORE
public static final String JSON_PROPERTY_TOTAL_ENTITIES
public static final String JSON_PROPERTY_TOTAL_FAIL
public static final String JSON_PROPERTY_TOTAL_NO_DATA
public static final String JSON_PROPERTY_TOTAL_PASS
public static final String JSON_PROPERTY_TOTAL_SKIP
public ScorecardScoreAttributes aggregation(ScorecardScoresAggregation aggregation)
@Nullable public ScorecardScoresAggregation getAggregation()
public void setAggregation(ScorecardScoresAggregation aggregation)
public ScorecardScoreAttributes denominator(Long denominator)
@Nullable public Long getDenominator()
public void setDenominator(Long denominator)
public ScorecardScoreAttributes level(Long level)
@Nullable public Long getLevel()
public void setLevel(Long level)
public ScorecardScoreAttributes numerator(Long numerator)
@Nullable public Long getNumerator()
public void setNumerator(Long numerator)
public ScorecardScoreAttributes score(Double score)
@Nullable public Double getScore()
public void setScore(Double score)
public ScorecardScoreAttributes totalEntities(Long totalEntities)
@Nullable public Long getTotalEntities()
public void setTotalEntities(Long totalEntities)
public ScorecardScoreAttributes totalFail(Long totalFail)
@Nullable public Long getTotalFail()
public void setTotalFail(Long totalFail)
public ScorecardScoreAttributes totalNoData(Long totalNoData)
@Nullable public Long getTotalNoData()
public void setTotalNoData(Long totalNoData)
public ScorecardScoreAttributes totalPass(Long totalPass)
@Nullable public Long getTotalPass()
public void setTotalPass(Long totalPass)
public ScorecardScoreAttributes totalSkip(Long totalSkip)
@Nullable public Long getTotalSkip()
public void setTotalSkip(Long totalSkip)
public ScorecardScoreAttributes 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.