@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComparisonConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The comparison display configuration of a KPI or gauge chart.
| Constructor and Description |
|---|
ComparisonConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ComparisonConfiguration |
clone() |
boolean |
equals(Object obj) |
ComparisonFormatConfiguration |
getComparisonFormat()
The format of the comparison.
|
String |
getComparisonMethod()
The method of the comparison.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setComparisonFormat(ComparisonFormatConfiguration comparisonFormat)
The format of the comparison.
|
void |
setComparisonMethod(String comparisonMethod)
The method of the comparison.
|
String |
toString()
Returns a string representation of this object.
|
ComparisonConfiguration |
withComparisonFormat(ComparisonFormatConfiguration comparisonFormat)
The format of the comparison.
|
ComparisonConfiguration |
withComparisonMethod(ComparisonMethod comparisonMethod)
The method of the comparison.
|
ComparisonConfiguration |
withComparisonMethod(String comparisonMethod)
The method of the comparison.
|
public void setComparisonMethod(String comparisonMethod)
The method of the comparison. Choose from the following options:
DIFFERENCE
PERCENT_DIFFERENCE
PERCENT
comparisonMethod - The method of the comparison. Choose from the following options:
DIFFERENCE
PERCENT_DIFFERENCE
PERCENT
ComparisonMethodpublic String getComparisonMethod()
The method of the comparison. Choose from the following options:
DIFFERENCE
PERCENT_DIFFERENCE
PERCENT
DIFFERENCE
PERCENT_DIFFERENCE
PERCENT
ComparisonMethodpublic ComparisonConfiguration withComparisonMethod(String comparisonMethod)
The method of the comparison. Choose from the following options:
DIFFERENCE
PERCENT_DIFFERENCE
PERCENT
comparisonMethod - The method of the comparison. Choose from the following options:
DIFFERENCE
PERCENT_DIFFERENCE
PERCENT
ComparisonMethodpublic ComparisonConfiguration withComparisonMethod(ComparisonMethod comparisonMethod)
The method of the comparison. Choose from the following options:
DIFFERENCE
PERCENT_DIFFERENCE
PERCENT
comparisonMethod - The method of the comparison. Choose from the following options:
DIFFERENCE
PERCENT_DIFFERENCE
PERCENT
ComparisonMethodpublic void setComparisonFormat(ComparisonFormatConfiguration comparisonFormat)
The format of the comparison.
comparisonFormat - The format of the comparison.public ComparisonFormatConfiguration getComparisonFormat()
The format of the comparison.
public ComparisonConfiguration withComparisonFormat(ComparisonFormatConfiguration comparisonFormat)
The format of the comparison.
comparisonFormat - The format of the comparison.public String toString()
toString in class ObjectObject.toString()public ComparisonConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.