@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KPISparklineOptions extends Object implements Serializable, Cloneable, StructuredPojo
The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual.
| Constructor and Description |
|---|
KPISparklineOptions() |
| Modifier and Type | Method and Description |
|---|---|
KPISparklineOptions |
clone() |
boolean |
equals(Object obj) |
String |
getColor()
The color of the sparkline.
|
String |
getTooltipVisibility()
The tooltip visibility of the sparkline.
|
String |
getType()
The type of the sparkline.
|
String |
getVisibility()
The visibility of the sparkline.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setColor(String color)
The color of the sparkline.
|
void |
setTooltipVisibility(String tooltipVisibility)
The tooltip visibility of the sparkline.
|
void |
setType(String type)
The type of the sparkline.
|
void |
setVisibility(String visibility)
The visibility of the sparkline.
|
String |
toString()
Returns a string representation of this object.
|
KPISparklineOptions |
withColor(String color)
The color of the sparkline.
|
KPISparklineOptions |
withTooltipVisibility(String tooltipVisibility)
The tooltip visibility of the sparkline.
|
KPISparklineOptions |
withTooltipVisibility(Visibility tooltipVisibility)
The tooltip visibility of the sparkline.
|
KPISparklineOptions |
withType(KPISparklineType type)
The type of the sparkline.
|
KPISparklineOptions |
withType(String type)
The type of the sparkline.
|
KPISparklineOptions |
withVisibility(String visibility)
The visibility of the sparkline.
|
KPISparklineOptions |
withVisibility(Visibility visibility)
The visibility of the sparkline.
|
public void setVisibility(String visibility)
The visibility of the sparkline.
visibility - The visibility of the sparkline.Visibilitypublic String getVisibility()
The visibility of the sparkline.
Visibilitypublic KPISparklineOptions withVisibility(String visibility)
The visibility of the sparkline.
visibility - The visibility of the sparkline.Visibilitypublic KPISparklineOptions withVisibility(Visibility visibility)
The visibility of the sparkline.
visibility - The visibility of the sparkline.Visibilitypublic void setType(String type)
The type of the sparkline.
type - The type of the sparkline.KPISparklineTypepublic String getType()
The type of the sparkline.
KPISparklineTypepublic KPISparklineOptions withType(String type)
The type of the sparkline.
type - The type of the sparkline.KPISparklineTypepublic KPISparklineOptions withType(KPISparklineType type)
The type of the sparkline.
type - The type of the sparkline.KPISparklineTypepublic void setColor(String color)
The color of the sparkline.
color - The color of the sparkline.public String getColor()
The color of the sparkline.
public KPISparklineOptions withColor(String color)
The color of the sparkline.
color - The color of the sparkline.public void setTooltipVisibility(String tooltipVisibility)
The tooltip visibility of the sparkline.
tooltipVisibility - The tooltip visibility of the sparkline.Visibilitypublic String getTooltipVisibility()
The tooltip visibility of the sparkline.
Visibilitypublic KPISparklineOptions withTooltipVisibility(String tooltipVisibility)
The tooltip visibility of the sparkline.
tooltipVisibility - The tooltip visibility of the sparkline.Visibilitypublic KPISparklineOptions withTooltipVisibility(Visibility tooltipVisibility)
The tooltip visibility of the sparkline.
tooltipVisibility - The tooltip visibility of the sparkline.Visibilitypublic String toString()
toString in class ObjectObject.toString()public KPISparklineOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.