Interface SparklinesOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SparklinesOptions.Builder,,SparklinesOptions> SdkBuilder<SparklinesOptions.Builder,,SparklinesOptions> SdkPojo
- Enclosing class:
SparklinesOptions
-
Method Summary
Modifier and TypeMethodDescriptiondefault SparklinesOptions.BuilderallPointsMarker(Consumer<LineChartMarkerStyleSettings.Builder> allPointsMarker) Sets the value of the AllPointsMarker property for this object.allPointsMarker(LineChartMarkerStyleSettings allPointsMarker) Sets the value of the AllPointsMarker property for this object.The field ID of the value column that the sparkline is applied to.The color of the sparkline line.lineInterpolation(String lineInterpolation) The interpolation style for the sparkline line.lineInterpolation(LineInterpolation lineInterpolation) The interpolation style for the sparkline line.default SparklinesOptions.BuildermaxValueMarker(Consumer<LineChartMarkerStyleSettings.Builder> maxValueMarker) Sets the value of the MaxValueMarker property for this object.maxValueMarker(LineChartMarkerStyleSettings maxValueMarker) Sets the value of the MaxValueMarker property for this object.default SparklinesOptions.BuilderminValueMarker(Consumer<LineChartMarkerStyleSettings.Builder> minValueMarker) Sets the value of the MinValueMarker property for this object.minValueMarker(LineChartMarkerStyleSettings minValueMarker) Sets the value of the MinValueMarker property for this object.visualType(String visualType) The type of the sparkline.visualType(SparklineVisualType visualType) The type of the sparkline.default SparklinesOptions.BuilderxAxisField(Consumer<DimensionField.Builder> xAxisField) Sets the value of the XAxisField property for this object.xAxisField(DimensionField xAxisField) Sets the value of the XAxisField property for this object.yAxisBehavior(String yAxisBehavior) Determines whether the Y axis is shared across all sparklines or independent for each sparkline.yAxisBehavior(SparklineAxisBehavior yAxisBehavior) Determines whether the Y axis is shared across all sparklines or independent for each sparkline.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
fieldId
The field ID of the value column that the sparkline is applied to.
- Parameters:
fieldId- The field ID of the value column that the sparkline is applied to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
xAxisField
Sets the value of the XAxisField property for this object.- Parameters:
xAxisField- The new value for the XAxisField property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
xAxisField
Sets the value of the XAxisField property for this object. This is a convenience method that creates an instance of theDimensionField.Builderavoiding the need to create one manually viaDimensionField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toxAxisField(DimensionField).- Parameters:
xAxisField- a consumer that will call methods onDimensionField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
yAxisBehavior
Determines whether the Y axis is shared across all sparklines or independent for each sparkline.
- Parameters:
yAxisBehavior- Determines whether the Y axis is shared across all sparklines or independent for each sparkline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
yAxisBehavior
Determines whether the Y axis is shared across all sparklines or independent for each sparkline.
- Parameters:
yAxisBehavior- Determines whether the Y axis is shared across all sparklines or independent for each sparkline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
visualType
The type of the sparkline. Valid values are
LINEandAREA_LINE.- Parameters:
visualType- The type of the sparkline. Valid values areLINEandAREA_LINE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
visualType
The type of the sparkline. Valid values are
LINEandAREA_LINE.- Parameters:
visualType- The type of the sparkline. Valid values areLINEandAREA_LINE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lineColor
The color of the sparkline line.
- Parameters:
lineColor- The color of the sparkline line.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineInterpolation
The interpolation style for the sparkline line.
- Parameters:
lineInterpolation- The interpolation style for the sparkline line.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lineInterpolation
The interpolation style for the sparkline line.
- Parameters:
lineInterpolation- The interpolation style for the sparkline line.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allPointsMarker
Sets the value of the AllPointsMarker property for this object.- Parameters:
allPointsMarker- The new value for the AllPointsMarker property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allPointsMarker
default SparklinesOptions.Builder allPointsMarker(Consumer<LineChartMarkerStyleSettings.Builder> allPointsMarker) Sets the value of the AllPointsMarker property for this object. This is a convenience method that creates an instance of theLineChartMarkerStyleSettings.Builderavoiding the need to create one manually viaLineChartMarkerStyleSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toallPointsMarker(LineChartMarkerStyleSettings).- Parameters:
allPointsMarker- a consumer that will call methods onLineChartMarkerStyleSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxValueMarker
Sets the value of the MaxValueMarker property for this object.- Parameters:
maxValueMarker- The new value for the MaxValueMarker property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxValueMarker
default SparklinesOptions.Builder maxValueMarker(Consumer<LineChartMarkerStyleSettings.Builder> maxValueMarker) Sets the value of the MaxValueMarker property for this object. This is a convenience method that creates an instance of theLineChartMarkerStyleSettings.Builderavoiding the need to create one manually viaLineChartMarkerStyleSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomaxValueMarker(LineChartMarkerStyleSettings).- Parameters:
maxValueMarker- a consumer that will call methods onLineChartMarkerStyleSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
minValueMarker
Sets the value of the MinValueMarker property for this object.- Parameters:
minValueMarker- The new value for the MinValueMarker property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minValueMarker
default SparklinesOptions.Builder minValueMarker(Consumer<LineChartMarkerStyleSettings.Builder> minValueMarker) Sets the value of the MinValueMarker property for this object. This is a convenience method that creates an instance of theLineChartMarkerStyleSettings.Builderavoiding the need to create one manually viaLineChartMarkerStyleSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tominValueMarker(LineChartMarkerStyleSettings).- Parameters:
minValueMarker- a consumer that will call methods onLineChartMarkerStyleSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-