@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricDimension extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
MetricDimension() |
| Modifier and Type | Method and Description |
|---|---|
MetricDimension |
clone() |
boolean |
equals(Object obj) |
String |
getComparisonOperator()
The operator that you're using to compare metric values.
|
Double |
getValue()
The value to be compared.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setComparisonOperator(String comparisonOperator)
The operator that you're using to compare metric values.
|
void |
setValue(Double value)
The value to be compared.
|
String |
toString()
Returns a string representation of this object.
|
MetricDimension |
withComparisonOperator(String comparisonOperator)
The operator that you're using to compare metric values.
|
MetricDimension |
withValue(Double value)
The value to be compared.
|
public void setComparisonOperator(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 String getComparisonOperator()
public MetricDimension withComparisonOperator(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 void setValue(Double value)
value - The value to be compared.public Double getValue()
public MetricDimension withValue(Double value)
value - The value to be compared.public String toString()
toString in class ObjectObject.toString()public MetricDimension clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.