@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GeospatialHeatmapColorScale extends Object implements Serializable, Cloneable, StructuredPojo
The color scale specification for the heatmap point style.
Constructor and Description |
---|
GeospatialHeatmapColorScale() |
Modifier and Type | Method and Description |
---|---|
GeospatialHeatmapColorScale |
clone() |
boolean |
equals(Object obj) |
List<GeospatialHeatmapDataColor> |
getColors()
The list of colors to be used in heatmap point style.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColors(Collection<GeospatialHeatmapDataColor> colors)
The list of colors to be used in heatmap point style.
|
String |
toString()
Returns a string representation of this object.
|
GeospatialHeatmapColorScale |
withColors(Collection<GeospatialHeatmapDataColor> colors)
The list of colors to be used in heatmap point style.
|
GeospatialHeatmapColorScale |
withColors(GeospatialHeatmapDataColor... colors)
The list of colors to be used in heatmap point style.
|
public List<GeospatialHeatmapDataColor> getColors()
The list of colors to be used in heatmap point style.
public void setColors(Collection<GeospatialHeatmapDataColor> colors)
The list of colors to be used in heatmap point style.
colors
- The list of colors to be used in heatmap point style.public GeospatialHeatmapColorScale withColors(GeospatialHeatmapDataColor... colors)
The list of colors to be used in heatmap point style.
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 list of colors to be used in heatmap point style.public GeospatialHeatmapColorScale withColors(Collection<GeospatialHeatmapDataColor> colors)
The list of colors to be used in heatmap point style.
colors
- The list of colors to be used in heatmap point style.public String toString()
toString
in class Object
Object.toString()
public GeospatialHeatmapColorScale clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.