@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()
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)
Value to be compared.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
MetricDimension |
withComparisonOperator(String comparisonOperator)
The operator that you're using to compare metric values.
|
MetricDimension |
withValue(Double value)
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
- Value to be compared.public Double getValue()
public MetricDimension withValue(Double value)
value
- Value to be compared.public String toString()
toString
in class Object
Object.toString()
public MetricDimension clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.