Class EventSeverity
- java.lang.Object
-
- de.tsystems.mms.apm.performancesignature.dynatracesaas.rest.model.EventSeverity
-
public class EventSeverity extends Object
Additional data on the event severity.
-
-
Constructor Summary
Constructors Constructor Description EventSeverity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventSeverity
context(ContextEnum context)
ContextEnum
getContext()
The metric used in the event severity calculation.UnitEnum
getUnit()
The unit of the severity value.Double
getValue()
The value of the severity.void
setContext(ContextEnum context)
void
setUnit(UnitEnum unit)
void
setValue(Double value)
String
toString()
EventSeverity
unit(UnitEnum unit)
EventSeverity
value(Double value)
-
-
-
Method Detail
-
context
public EventSeverity context(ContextEnum context)
-
getContext
public ContextEnum getContext()
The metric used in the event severity calculation.- Returns:
- context
-
setContext
public void setContext(ContextEnum context)
-
value
public EventSeverity value(Double value)
-
getValue
public Double getValue()
The value of the severity.- Returns:
- value
-
setValue
public void setValue(Double value)
-
unit
public EventSeverity unit(UnitEnum unit)
-
getUnit
public UnitEnum getUnit()
The unit of the severity value.- Returns:
- unit
-
setUnit
public void setUnit(UnitEnum unit)
-
-