Interface CfnTemplate.TotalOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.TotalOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static interface CfnTemplate.TotalOptionsProperty
extends software.amazon.jsii.JsiiSerializable
The total options for a table visual.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
TotalOptionsProperty totalOptionsProperty = TotalOptionsProperty.builder()
.customLabel("customLabel")
.placement("placement")
.scrollStatus("scrollStatus")
.totalAggregationOptions(List.of(TotalAggregationOptionProperty.builder()
.fieldId("fieldId")
.totalAggregationFunction(TotalAggregationFunctionProperty.builder()
.simpleTotalAggregationFunction("simpleTotalAggregationFunction")
.build())
.build()))
.totalCellStyle(TableCellStyleProperty.builder()
.backgroundColor("backgroundColor")
.border(GlobalTableBorderOptionsProperty.builder()
.sideSpecificBorder(TableSideBorderOptionsProperty.builder()
.bottom(TableBorderOptionsProperty.builder()
.color("color")
.style("style")
.thickness(123)
.build())
.innerHorizontal(TableBorderOptionsProperty.builder()
.color("color")
.style("style")
.thickness(123)
.build())
.innerVertical(TableBorderOptionsProperty.builder()
.color("color")
.style("style")
.thickness(123)
.build())
.left(TableBorderOptionsProperty.builder()
.color("color")
.style("style")
.thickness(123)
.build())
.right(TableBorderOptionsProperty.builder()
.color("color")
.style("style")
.thickness(123)
.build())
.top(TableBorderOptionsProperty.builder()
.color("color")
.style("style")
.thickness(123)
.build())
.build())
.uniformBorder(TableBorderOptionsProperty.builder()
.color("color")
.style("style")
.thickness(123)
.build())
.build())
.fontConfiguration(FontConfigurationProperty.builder()
.fontColor("fontColor")
.fontDecoration("fontDecoration")
.fontFamily("fontFamily")
.fontSize(FontSizeProperty.builder()
.absolute("absolute")
.relative("relative")
.build())
.fontStyle("fontStyle")
.fontWeight(FontWeightProperty.builder()
.name("name")
.build())
.build())
.height(123)
.horizontalTextAlignment("horizontalTextAlignment")
.textWrap("textWrap")
.verticalTextAlignment("verticalTextAlignment")
.visibility("visibility")
.build())
.totalsVisibility("totalsVisibility")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTemplate.TotalOptionsPropertystatic final classAn implementation forCfnTemplate.TotalOptionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe custom label string for the total cells.default StringThe placement (start, end) for the total cells.default StringThe scroll status (pinned, scrolled) for the total cells.default ObjectThe total aggregation settings for each value field.default ObjectCell styling options for the total cells.default StringThe visibility configuration for the total cells.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCustomLabel
The custom label string for the total cells.- See Also:
-
getPlacement
The placement (start, end) for the total cells.- See Also:
-
getScrollStatus
The scroll status (pinned, scrolled) for the total cells.- See Also:
-
getTotalAggregationOptions
The total aggregation settings for each value field.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTemplate.TotalAggregationOptionProperty>- See Also:
-
getTotalCellStyle
Cell styling options for the total cells.Returns union: either
IResolvableorCfnTemplate.TableCellStyleProperty- See Also:
-
getTotalsVisibility
The visibility configuration for the total cells.- See Also:
-
builder
-