public class ThresholdV2
extends java.lang.Object
implements java.io.Serializable
Contains information about the threshold for service level metrics.
| Constructor and Description |
|---|
ThresholdV2() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getComparison()
The type of comparison.
|
java.lang.Double |
getThresholdValue()
The threshold value to compare.
|
int |
hashCode() |
void |
setComparison(java.lang.String comparison)
The type of comparison.
|
void |
setThresholdValue(java.lang.Double thresholdValue)
The threshold value to compare.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ThresholdV2 |
withComparison(java.lang.String comparison)
The type of comparison.
|
ThresholdV2 |
withThresholdValue(java.lang.Double thresholdValue)
The threshold value to compare.
|
public java.lang.String getComparison()
The type of comparison. Only "less than" (LT) comparisons are supported.
Constraints:
Length: 1 - 250
The type of comparison. Only "less than" (LT) comparisons are supported.
public void setComparison(java.lang.String comparison)
The type of comparison. Only "less than" (LT) comparisons are supported.
Constraints:
Length: 1 - 250
comparison - The type of comparison. Only "less than" (LT) comparisons are supported.
public ThresholdV2 withComparison(java.lang.String comparison)
The type of comparison. Only "less than" (LT) comparisons are supported.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 250
comparison - The type of comparison. Only "less than" (LT) comparisons are supported.
public java.lang.Double getThresholdValue()
The threshold value to compare.
The threshold value to compare.
public void setThresholdValue(java.lang.Double thresholdValue)
The threshold value to compare.
thresholdValue - The threshold value to compare.
public ThresholdV2 withThresholdValue(java.lang.Double thresholdValue)
The threshold value to compare.
Returns a reference to this object so that method calls can be chained together.
thresholdValue - The threshold value to compare.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object