@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataColorPalette extends Object implements Serializable, Cloneable, StructuredPojo
The theme colors that are used for data colors in charts. The colors description is a hexadecimal color code that
consists of six alphanumerical characters, prefixed with #
, for example #37BFF5.
Constructor and Description |
---|
DataColorPalette() |
Modifier and Type | Method and Description |
---|---|
DataColorPalette |
clone() |
boolean |
equals(Object obj) |
List<String> |
getColors()
The hexadecimal codes for the colors.
|
String |
getEmptyFillColor()
The hexadecimal code of a color that applies to charts where a lack of data is highlighted.
|
List<String> |
getMinMaxGradient()
The minimum and maximum hexadecimal codes that describe a color gradient.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColors(Collection<String> colors)
The hexadecimal codes for the colors.
|
void |
setEmptyFillColor(String emptyFillColor)
The hexadecimal code of a color that applies to charts where a lack of data is highlighted.
|
void |
setMinMaxGradient(Collection<String> minMaxGradient)
The minimum and maximum hexadecimal codes that describe a color gradient.
|
String |
toString()
Returns a string representation of this object.
|
DataColorPalette |
withColors(Collection<String> colors)
The hexadecimal codes for the colors.
|
DataColorPalette |
withColors(String... colors)
The hexadecimal codes for the colors.
|
DataColorPalette |
withEmptyFillColor(String emptyFillColor)
The hexadecimal code of a color that applies to charts where a lack of data is highlighted.
|
DataColorPalette |
withMinMaxGradient(Collection<String> minMaxGradient)
The minimum and maximum hexadecimal codes that describe a color gradient.
|
DataColorPalette |
withMinMaxGradient(String... minMaxGradient)
The minimum and maximum hexadecimal codes that describe a color gradient.
|
public List<String> getColors()
The hexadecimal codes for the colors.
public void setColors(Collection<String> colors)
The hexadecimal codes for the colors.
colors
- The hexadecimal codes for the colors.public DataColorPalette withColors(String... colors)
The hexadecimal codes for the colors.
NOTE: This method appends the values to the existing list (if any). Use
setColors(java.util.Collection)
or withColors(java.util.Collection)
if you want to override the
existing values.
colors
- The hexadecimal codes for the colors.public DataColorPalette withColors(Collection<String> colors)
The hexadecimal codes for the colors.
colors
- The hexadecimal codes for the colors.public List<String> getMinMaxGradient()
The minimum and maximum hexadecimal codes that describe a color gradient.
public void setMinMaxGradient(Collection<String> minMaxGradient)
The minimum and maximum hexadecimal codes that describe a color gradient.
minMaxGradient
- The minimum and maximum hexadecimal codes that describe a color gradient.public DataColorPalette withMinMaxGradient(String... minMaxGradient)
The minimum and maximum hexadecimal codes that describe a color gradient.
NOTE: This method appends the values to the existing list (if any). Use
setMinMaxGradient(java.util.Collection)
or withMinMaxGradient(java.util.Collection)
if you want
to override the existing values.
minMaxGradient
- The minimum and maximum hexadecimal codes that describe a color gradient.public DataColorPalette withMinMaxGradient(Collection<String> minMaxGradient)
The minimum and maximum hexadecimal codes that describe a color gradient.
minMaxGradient
- The minimum and maximum hexadecimal codes that describe a color gradient.public void setEmptyFillColor(String emptyFillColor)
The hexadecimal code of a color that applies to charts where a lack of data is highlighted.
emptyFillColor
- The hexadecimal code of a color that applies to charts where a lack of data is highlighted.public String getEmptyFillColor()
The hexadecimal code of a color that applies to charts where a lack of data is highlighted.
public DataColorPalette withEmptyFillColor(String emptyFillColor)
The hexadecimal code of a color that applies to charts where a lack of data is highlighted.
emptyFillColor
- The hexadecimal code of a color that applies to charts where a lack of data is highlighted.public String toString()
toString
in class Object
Object.toString()
public DataColorPalette clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.