Package io.prismacloud.iac.commons.model
Class JsonApiModelFailureCriteria
- java.lang.Object
-
- io.prismacloud.iac.commons.model.JsonApiModelFailureCriteria
-
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2021-01-26T11:29:52.304914+05:30[Asia/Kolkata]") public class JsonApiModelFailureCriteria extends Object
Thresholds that define scan asset result failures after evaluation.
-
-
Constructor Summary
Constructors Constructor Description JsonApiModelFailureCriteria()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IntegergetHigh()Threshold for the number of high severity violations that define an asset failure.IntegergetLow()Threshold for the number of low severity violations that define an asset failure.IntegergetMedium()Threshold for the number of medium severity violations that define an asset failure.StringgetOperator()Logic operator on failures [and, or]inthashCode()JsonApiModelFailureCriteriahigh(Integer high)JsonApiModelFailureCriterialow(Integer low)JsonApiModelFailureCriteriamedium(Integer medium)JsonApiModelFailureCriteriaoperator(String operator)voidsetHigh(Integer high)voidsetLow(Integer low)voidsetMedium(Integer medium)voidsetOperator(String operator)StringtoString()
-
-
-
Method Detail
-
high
public JsonApiModelFailureCriteria high(Integer high)
-
getHigh
public Integer getHigh()
Threshold for the number of high severity violations that define an asset failure.- Returns:
- high
-
setHigh
public void setHigh(Integer high)
-
medium
public JsonApiModelFailureCriteria medium(Integer medium)
-
getMedium
public Integer getMedium()
Threshold for the number of medium severity violations that define an asset failure.- Returns:
- medium
-
setMedium
public void setMedium(Integer medium)
-
low
public JsonApiModelFailureCriteria low(Integer low)
-
getLow
public Integer getLow()
Threshold for the number of low severity violations that define an asset failure.- Returns:
- low
-
setLow
public void setLow(Integer low)
-
operator
public JsonApiModelFailureCriteria operator(String operator)
-
getOperator
public String getOperator()
Logic operator on failures [and, or]- Returns:
- operator
-
setOperator
public void setOperator(String operator)
-
-