@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Threshold extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the threshold for service level metrics.
| Constructor and Description |
|---|
Threshold() |
| Modifier and Type | Method and Description |
|---|---|
Threshold |
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.
|
Threshold |
withComparison(Comparison comparison)
The type of comparison.
|
Threshold |
withComparison(String comparison)
The type of comparison.
|
Threshold |
withThresholdValue(Double thresholdValue)
The threshold value to compare.
|
public void setComparison(String comparison)
The type of comparison. Only "less than" (LT) comparisons are supported.
comparison - The type of comparison. Only "less than" (LT) comparisons are supported.Comparisonpublic String getComparison()
The type of comparison. Only "less than" (LT) comparisons are supported.
Comparisonpublic Threshold withComparison(String comparison)
The type of comparison. Only "less than" (LT) comparisons are supported.
comparison - The type of comparison. Only "less than" (LT) comparisons are supported.Comparisonpublic Threshold withComparison(Comparison comparison)
The type of comparison. Only "less than" (LT) comparisons are supported.
comparison - The type of comparison. Only "less than" (LT) comparisons are supported.Comparisonpublic void setThresholdValue(Double thresholdValue)
The threshold value to compare.
thresholdValue - The threshold value to compare.public Double getThresholdValue()
The threshold value to compare.
public Threshold withThresholdValue(Double thresholdValue)
The threshold value to compare.
thresholdValue - The threshold value to compare.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.