@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThresholdV2 extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the threshold for service level metrics.
Constructor and Description |
---|
ThresholdV2() |
Modifier and Type | Method and Description |
---|---|
ThresholdV2 |
clone() |
boolean |
equals(Object obj) |
String |
getComparison()
The type of comparison.
|
Double |
getThresholdValue()
The threshold value to compare.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComparison(String comparison)
The type of comparison.
|
void |
setThresholdValue(Double thresholdValue)
The threshold value to compare.
|
String |
toString()
Returns a string representation of this object.
|
ThresholdV2 |
withComparison(String comparison)
The type of comparison.
|
ThresholdV2 |
withThresholdValue(Double thresholdValue)
The threshold value to compare.
|
public void setComparison(String comparison)
The type of comparison. Only "less than" (LT) and "greater than" (GT) comparisons are supported.
comparison
- The type of comparison. Only "less than" (LT) and "greater than" (GT) comparisons are supported.public String getComparison()
The type of comparison. Only "less than" (LT) and "greater than" (GT) comparisons are supported.
public ThresholdV2 withComparison(String comparison)
The type of comparison. Only "less than" (LT) and "greater than" (GT) comparisons are supported.
comparison
- The type of comparison. Only "less than" (LT) and "greater than" (GT) comparisons are supported.public void setThresholdValue(Double thresholdValue)
The threshold value to compare.
thresholdValue
- The threshold value to compare.public Double getThresholdValue()
The threshold value to compare.
public ThresholdV2 withThresholdValue(Double thresholdValue)
The threshold value to compare.
thresholdValue
- The threshold value to compare.public String toString()
toString
in class Object
Object.toString()
public ThresholdV2 clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.