Interface SubtotalOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SubtotalOptions.Builder,
,SubtotalOptions> SdkBuilder<SubtotalOptions.Builder,
,SubtotalOptions> SdkPojo
- Enclosing class:
SubtotalOptions
-
Method Summary
Modifier and TypeMethodDescriptioncustomLabel
(String customLabel) The custom label string for the subtotal cells.fieldLevel
(String fieldLevel) The field level (all, custom, last) for the subtotal cells.fieldLevel
(PivotTableSubtotalLevel fieldLevel) The field level (all, custom, last) for the subtotal cells.fieldLevelOptions
(Collection<PivotTableFieldSubtotalOptions> fieldLevelOptions) The optional configuration of subtotal cells.fieldLevelOptions
(Consumer<PivotTableFieldSubtotalOptions.Builder>... fieldLevelOptions) The optional configuration of subtotal cells.fieldLevelOptions
(PivotTableFieldSubtotalOptions... fieldLevelOptions) The optional configuration of subtotal cells.default SubtotalOptions.Builder
metricHeaderCellStyle
(Consumer<TableCellStyle.Builder> metricHeaderCellStyle) The cell styling options for the subtotals of header cells.metricHeaderCellStyle
(TableCellStyle metricHeaderCellStyle) The cell styling options for the subtotals of header cells.styleTargets
(Collection<TableStyleTarget> styleTargets) The style targets options for subtotals.styleTargets
(Consumer<TableStyleTarget.Builder>... styleTargets) The style targets options for subtotals.styleTargets
(TableStyleTarget... styleTargets) The style targets options for subtotals.default SubtotalOptions.Builder
totalCellStyle
(Consumer<TableCellStyle.Builder> totalCellStyle) The cell styling options for the subtotal cells.totalCellStyle
(TableCellStyle totalCellStyle) The cell styling options for the subtotal cells.totalsVisibility
(String totalsVisibility) The visibility configuration for the subtotal cells.totalsVisibility
(Visibility totalsVisibility) The visibility configuration for the subtotal cells.default SubtotalOptions.Builder
valueCellStyle
(Consumer<TableCellStyle.Builder> valueCellStyle) The cell styling options for the subtotals of value cells.valueCellStyle
(TableCellStyle valueCellStyle) The cell styling options for the subtotals of value cells.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
totalsVisibility
The visibility configuration for the subtotal cells.
- Parameters:
totalsVisibility
- The visibility configuration for the subtotal cells.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalsVisibility
The visibility configuration for the subtotal cells.
- Parameters:
totalsVisibility
- The visibility configuration for the subtotal cells.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customLabel
The custom label string for the subtotal cells.
- Parameters:
customLabel
- The custom label string for the subtotal cells.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldLevel
The field level (all, custom, last) for the subtotal cells.
- Parameters:
fieldLevel
- The field level (all, custom, last) for the subtotal cells.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fieldLevel
The field level (all, custom, last) for the subtotal cells.
- Parameters:
fieldLevel
- The field level (all, custom, last) for the subtotal cells.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fieldLevelOptions
SubtotalOptions.Builder fieldLevelOptions(Collection<PivotTableFieldSubtotalOptions> fieldLevelOptions) The optional configuration of subtotal cells.
- Parameters:
fieldLevelOptions
- The optional configuration of subtotal cells.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldLevelOptions
The optional configuration of subtotal cells.
- Parameters:
fieldLevelOptions
- The optional configuration of subtotal cells.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldLevelOptions
SubtotalOptions.Builder fieldLevelOptions(Consumer<PivotTableFieldSubtotalOptions.Builder>... fieldLevelOptions) The optional configuration of subtotal cells.
This is a convenience method that creates an instance of thePivotTableFieldSubtotalOptions.Builder
avoiding the need to create one manually viaPivotTableFieldSubtotalOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofieldLevelOptions(List<PivotTableFieldSubtotalOptions>)
.- Parameters:
fieldLevelOptions
- a consumer that will call methods onPivotTableFieldSubtotalOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalCellStyle
The cell styling options for the subtotal cells.
- Parameters:
totalCellStyle
- The cell styling options for the subtotal cells.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCellStyle
The cell styling options for the subtotal cells.
This is a convenience method that creates an instance of theTableCellStyle.Builder
avoiding the need to create one manually viaTableCellStyle.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tototalCellStyle(TableCellStyle)
.- Parameters:
totalCellStyle
- a consumer that will call methods onTableCellStyle.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
valueCellStyle
The cell styling options for the subtotals of value cells.
- Parameters:
valueCellStyle
- The cell styling options for the subtotals of value cells.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueCellStyle
The cell styling options for the subtotals of value cells.
This is a convenience method that creates an instance of theTableCellStyle.Builder
avoiding the need to create one manually viaTableCellStyle.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalueCellStyle(TableCellStyle)
.- Parameters:
valueCellStyle
- a consumer that will call methods onTableCellStyle.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricHeaderCellStyle
The cell styling options for the subtotals of header cells.
- Parameters:
metricHeaderCellStyle
- The cell styling options for the subtotals of header cells.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricHeaderCellStyle
default SubtotalOptions.Builder metricHeaderCellStyle(Consumer<TableCellStyle.Builder> metricHeaderCellStyle) The cell styling options for the subtotals of header cells.
This is a convenience method that creates an instance of theTableCellStyle.Builder
avoiding the need to create one manually viaTableCellStyle.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricHeaderCellStyle(TableCellStyle)
.- Parameters:
metricHeaderCellStyle
- a consumer that will call methods onTableCellStyle.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
styleTargets
The style targets options for subtotals.
- Parameters:
styleTargets
- The style targets options for subtotals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
styleTargets
The style targets options for subtotals.
- Parameters:
styleTargets
- The style targets options for subtotals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
styleTargets
The style targets options for subtotals.
This is a convenience method that creates an instance of theTableStyleTarget.Builder
avoiding the need to create one manually viaTableStyleTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostyleTargets(List<TableStyleTarget>)
.- Parameters:
styleTargets
- a consumer that will call methods onTableStyleTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-