@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataColor extends Object implements Serializable, Cloneable, StructuredPojo
Determines the color that is applied to a particular data value.
Constructor and Description |
---|
DataColor() |
Modifier and Type | Method and Description |
---|---|
DataColor |
clone() |
boolean |
equals(Object obj) |
String |
getColor()
The color that is applied to the data value.
|
Double |
getDataValue()
The data value that the color is applied to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColor(String color)
The color that is applied to the data value.
|
void |
setDataValue(Double dataValue)
The data value that the color is applied to.
|
String |
toString()
Returns a string representation of this object.
|
DataColor |
withColor(String color)
The color that is applied to the data value.
|
DataColor |
withDataValue(Double dataValue)
The data value that the color is applied to.
|
public void setColor(String color)
The color that is applied to the data value.
color
- The color that is applied to the data value.public String getColor()
The color that is applied to the data value.
public DataColor withColor(String color)
The color that is applied to the data value.
color
- The color that is applied to the data value.public void setDataValue(Double dataValue)
The data value that the color is applied to.
dataValue
- The data value that the color is applied to.public Double getDataValue()
The data value that the color is applied to.
public DataColor withDataValue(Double dataValue)
The data value that the color is applied to.
dataValue
- The data value that the color is applied to.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.