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 boolean
equals(Object o)
Integer
getHigh()
Threshold for the number of high severity violations that define an asset failure.Integer
getLow()
Threshold for the number of low severity violations that define an asset failure.Integer
getMedium()
Threshold for the number of medium severity violations that define an asset failure.String
getOperator()
Logic operator on failures [and, or]int
hashCode()
JsonApiModelFailureCriteria
high(Integer high)
JsonApiModelFailureCriteria
low(Integer low)
JsonApiModelFailureCriteria
medium(Integer medium)
JsonApiModelFailureCriteria
operator(String operator)
void
setHigh(Integer high)
void
setLow(Integer low)
void
setMedium(Integer medium)
void
setOperator(String operator)
String
toString()
-
-
-
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)
-
-