public class MetricDimension
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
MetricDimension() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getComparisonOperator()
The operator that you're using to compare metric values.
|
java.lang.Double |
getValue()
The value to be compared.
|
int |
hashCode() |
void |
setComparisonOperator(java.lang.String comparisonOperator)
The operator that you're using to compare metric values.
|
void |
setValue(java.lang.Double value)
The value to be compared.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MetricDimension |
withComparisonOperator(java.lang.String comparisonOperator)
The operator that you're using to compare metric values.
|
MetricDimension |
withValue(java.lang.Double value)
The value to be compared.
|
public java.lang.String getComparisonOperator()
public void setComparisonOperator(java.lang.String comparisonOperator)
comparisonOperator
- The operator that you're using to compare
metric values. Possible values: GREATER_THAN, LESS_THAN,
GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, or EQUALpublic MetricDimension withComparisonOperator(java.lang.String comparisonOperator)
Returns a reference to this object so that method calls can be chained together.
comparisonOperator
- The operator that you're using to compare
metric values. Possible values: GREATER_THAN, LESS_THAN,
GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, or EQUALpublic java.lang.Double getValue()
public void setValue(java.lang.Double value)
value
- The value to be compared.public MetricDimension withValue(java.lang.Double value)
Returns a reference to this object so that method calls can be chained together.
value
- The value to be compared.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.