@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ColorScale extends Object implements Serializable, Cloneable, StructuredPojo
Determines the color scale that is applied to the visual.
Constructor and Description |
---|
ColorScale() |
Modifier and Type | Method and Description |
---|---|
ColorScale |
clone() |
boolean |
equals(Object obj) |
String |
getColorFillType()
Determines the color fill type.
|
List<DataColor> |
getColors()
Determines the list of colors that are applied to the visual.
|
DataColor |
getNullValueColor()
Determines the color that is applied to null values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColorFillType(String colorFillType)
Determines the color fill type.
|
void |
setColors(Collection<DataColor> colors)
Determines the list of colors that are applied to the visual.
|
void |
setNullValueColor(DataColor nullValueColor)
Determines the color that is applied to null values.
|
String |
toString()
Returns a string representation of this object.
|
ColorScale |
withColorFillType(ColorFillType colorFillType)
Determines the color fill type.
|
ColorScale |
withColorFillType(String colorFillType)
Determines the color fill type.
|
ColorScale |
withColors(Collection<DataColor> colors)
Determines the list of colors that are applied to the visual.
|
ColorScale |
withColors(DataColor... colors)
Determines the list of colors that are applied to the visual.
|
ColorScale |
withNullValueColor(DataColor nullValueColor)
Determines the color that is applied to null values.
|
public List<DataColor> getColors()
Determines the list of colors that are applied to the visual.
public void setColors(Collection<DataColor> colors)
Determines the list of colors that are applied to the visual.
colors
- Determines the list of colors that are applied to the visual.public ColorScale withColors(DataColor... colors)
Determines the list of colors that are applied to the visual.
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
- Determines the list of colors that are applied to the visual.public ColorScale withColors(Collection<DataColor> colors)
Determines the list of colors that are applied to the visual.
colors
- Determines the list of colors that are applied to the visual.public void setColorFillType(String colorFillType)
Determines the color fill type.
colorFillType
- Determines the color fill type.ColorFillType
public String getColorFillType()
Determines the color fill type.
ColorFillType
public ColorScale withColorFillType(String colorFillType)
Determines the color fill type.
colorFillType
- Determines the color fill type.ColorFillType
public ColorScale withColorFillType(ColorFillType colorFillType)
Determines the color fill type.
colorFillType
- Determines the color fill type.ColorFillType
public void setNullValueColor(DataColor nullValueColor)
Determines the color that is applied to null values.
nullValueColor
- Determines the color that is applied to null values.public DataColor getNullValueColor()
Determines the color that is applied to null values.
public ColorScale withNullValueColor(DataColor nullValueColor)
Determines the color that is applied to null values.
nullValueColor
- Determines the color that is applied to null values.public String toString()
toString
in class Object
Object.toString()
public ColorScale clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.