@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.Comparison
public String getComparison()
The type of comparison. Only "less than" (LT) comparisons are supported.
Comparison
public 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.Comparison
public 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.Comparison
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 Threshold withThresholdValue(Double thresholdValue)
The threshold value to compare.
thresholdValue
- The threshold value to compare.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.