@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Threshold extends Object implements Serializable, Cloneable, StructuredPojo
A Threshold object that includes a comparison and ThresholdValue to compare to. Used with
service level metrics.
| Constructor and Description |
|---|
Threshold() |
| Modifier and Type | Method and Description |
|---|---|
Threshold |
clone() |
boolean |
equals(Object obj) |
String |
getComparison()
The Threshold to use to compare service level metrics to.
|
Double |
getThresholdValue()
The value of the threshold to compare the metric to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setComparison(String comparison)
The Threshold to use to compare service level metrics to.
|
void |
setThresholdValue(Double thresholdValue)
The value of the threshold to compare the metric to.
|
String |
toString()
Returns a string representation of this object.
|
Threshold |
withComparison(Comparison comparison)
The Threshold to use to compare service level metrics to.
|
Threshold |
withComparison(String comparison)
The Threshold to use to compare service level metrics to.
|
Threshold |
withThresholdValue(Double thresholdValue)
The value of the threshold to compare the metric to.
|
public void setComparison(String comparison)
The Threshold to use to compare service level metrics to. Only "Less than" (LT) comparisons are supported.
comparison - The Threshold to use to compare service level metrics to. Only "Less than" (LT) comparisons are supported.Comparisonpublic String getComparison()
The Threshold to use to compare service level metrics to. Only "Less than" (LT) comparisons are supported.
Comparisonpublic Threshold withComparison(String comparison)
The Threshold to use to compare service level metrics to. Only "Less than" (LT) comparisons are supported.
comparison - The Threshold to use to compare service level metrics to. Only "Less than" (LT) comparisons are supported.Comparisonpublic Threshold withComparison(Comparison comparison)
The Threshold to use to compare service level metrics to. Only "Less than" (LT) comparisons are supported.
comparison - The Threshold to use to compare service level metrics to. Only "Less than" (LT) comparisons are supported.Comparisonpublic void setThresholdValue(Double thresholdValue)
The value of the threshold to compare the metric to. Only "Less than" (LT) comparisons are supported.
thresholdValue - The value of the threshold to compare the metric to. Only "Less than" (LT) comparisons are supported.public Double getThresholdValue()
The value of the threshold to compare the metric to. Only "Less than" (LT) comparisons are supported.
public Threshold withThresholdValue(Double thresholdValue)
The value of the threshold to compare the metric to. Only "Less than" (LT) comparisons are supported.
thresholdValue - The value of the threshold to compare the metric to. Only "Less than" (LT) comparisons are supported.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.