public class Threshold
extends java.lang.Object
implements java.io.Serializable
Contains information about the threshold for service level metrics.
Constructor and Description |
---|
Threshold() |
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(Comparison comparison)
The type of comparison.
|
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.
|
Threshold |
withComparison(Comparison comparison)
The type of comparison.
|
Threshold |
withComparison(java.lang.String comparison)
The type of comparison.
|
Threshold |
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:
Allowed Values: LT
The type of comparison. Only "less than" (LT) comparisons are supported.
Comparison
public void setComparison(java.lang.String comparison)
The type of comparison. Only "less than" (LT) comparisons are supported.
Constraints:
Allowed Values: LT
comparison
- The type of comparison. Only "less than" (LT) comparisons are supported.
Comparison
public Threshold 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:
Allowed Values: LT
comparison
- The type of comparison. Only "less than" (LT) comparisons are supported.
Comparison
public void setComparison(Comparison comparison)
The type of comparison. Only "less than" (LT) comparisons are supported.
Constraints:
Allowed Values: LT
comparison
- The type of comparison. Only "less than" (LT) comparisons are supported.
Comparison
public Threshold withComparison(Comparison 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:
Allowed Values: LT
comparison
- The type of comparison. Only "less than" (LT) comparisons are supported.
Comparison
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 Threshold 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.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.