Interface SubtotalOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SubtotalOptions.Builder,SubtotalOptions>,SdkBuilder<SubtotalOptions.Builder,SubtotalOptions>,SdkPojo
- Enclosing class:
- SubtotalOptions
public static interface SubtotalOptions.Builder extends SdkPojo, CopyableBuilder<SubtotalOptions.Builder,SubtotalOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SubtotalOptions.BuildercustomLabel(String customLabel)The custom label string for the subtotal cells.SubtotalOptions.BuilderfieldLevel(String fieldLevel)The field level (all, custom, last) for the subtotal cells.SubtotalOptions.BuilderfieldLevel(PivotTableSubtotalLevel fieldLevel)The field level (all, custom, last) for the subtotal cells.SubtotalOptions.BuilderfieldLevelOptions(Collection<PivotTableFieldSubtotalOptions> fieldLevelOptions)The optional configuration of subtotal cells.SubtotalOptions.BuilderfieldLevelOptions(Consumer<PivotTableFieldSubtotalOptions.Builder>... fieldLevelOptions)The optional configuration of subtotal cells.SubtotalOptions.BuilderfieldLevelOptions(PivotTableFieldSubtotalOptions... fieldLevelOptions)The optional configuration of subtotal cells.default SubtotalOptions.BuildermetricHeaderCellStyle(Consumer<TableCellStyle.Builder> metricHeaderCellStyle)The cell styling options for the subtotals of header cells.SubtotalOptions.BuildermetricHeaderCellStyle(TableCellStyle metricHeaderCellStyle)The cell styling options for the subtotals of header cells.SubtotalOptions.BuilderstyleTargets(Collection<TableStyleTarget> styleTargets)The style targets options for subtotals.SubtotalOptions.BuilderstyleTargets(Consumer<TableStyleTarget.Builder>... styleTargets)The style targets options for subtotals.SubtotalOptions.BuilderstyleTargets(TableStyleTarget... styleTargets)The style targets options for subtotals.default SubtotalOptions.BuildertotalCellStyle(Consumer<TableCellStyle.Builder> totalCellStyle)The cell styling options for the subtotal cells.SubtotalOptions.BuildertotalCellStyle(TableCellStyle totalCellStyle)The cell styling options for the subtotal cells.SubtotalOptions.BuildertotalsVisibility(String totalsVisibility)The visibility configuration for the subtotal cells.SubtotalOptions.BuildertotalsVisibility(Visibility totalsVisibility)The visibility configuration for the subtotal cells.default SubtotalOptions.BuildervalueCellStyle(Consumer<TableCellStyle.Builder> valueCellStyle)The cell styling options for the subtotals of value cells.SubtotalOptions.BuildervalueCellStyle(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 Detail
-
totalsVisibility
SubtotalOptions.Builder totalsVisibility(String 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:
Visibility,Visibility
-
totalsVisibility
SubtotalOptions.Builder totalsVisibility(Visibility 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:
Visibility,Visibility
-
customLabel
SubtotalOptions.Builder customLabel(String 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
SubtotalOptions.Builder fieldLevel(String 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:
PivotTableSubtotalLevel,PivotTableSubtotalLevel
-
fieldLevel
SubtotalOptions.Builder fieldLevel(PivotTableSubtotalLevel 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:
PivotTableSubtotalLevel,PivotTableSubtotalLevel
-
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
SubtotalOptions.Builder fieldLevelOptions(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
SubtotalOptions.Builder fieldLevelOptions(Consumer<PivotTableFieldSubtotalOptions.Builder>... fieldLevelOptions)
The optional configuration of subtotal cells.
This is a convenience method that creates an instance of thePivotTableFieldSubtotalOptions.Builderavoiding the need to create one manually viaPivotTableFieldSubtotalOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fieldLevelOptions(List.) - 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:
#fieldLevelOptions(java.util.Collection)
-
totalCellStyle
SubtotalOptions.Builder totalCellStyle(TableCellStyle 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
default SubtotalOptions.Builder totalCellStyle(Consumer<TableCellStyle.Builder> totalCellStyle)
The cell styling options for the subtotal cells.
This is a convenience method that creates an instance of theTableCellStyle.Builderavoiding the need to create one manually viaTableCellStyle.builder().When the
Consumercompletes,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:
totalCellStyle(TableCellStyle)
-
valueCellStyle
SubtotalOptions.Builder valueCellStyle(TableCellStyle 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
default SubtotalOptions.Builder valueCellStyle(Consumer<TableCellStyle.Builder> valueCellStyle)
The cell styling options for the subtotals of value cells.
This is a convenience method that creates an instance of theTableCellStyle.Builderavoiding the need to create one manually viaTableCellStyle.builder().When the
Consumercompletes,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:
valueCellStyle(TableCellStyle)
-
metricHeaderCellStyle
SubtotalOptions.Builder metricHeaderCellStyle(TableCellStyle 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.Builderavoiding the need to create one manually viaTableCellStyle.builder().When the
Consumercompletes,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:
metricHeaderCellStyle(TableCellStyle)
-
styleTargets
SubtotalOptions.Builder styleTargets(Collection<TableStyleTarget> 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
SubtotalOptions.Builder styleTargets(TableStyleTarget... 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
SubtotalOptions.Builder styleTargets(Consumer<TableStyleTarget.Builder>... styleTargets)
The style targets options for subtotals.
This is a convenience method that creates an instance of theTableStyleTarget.Builderavoiding the need to create one manually viaTableStyleTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#styleTargets(List.) - 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:
#styleTargets(java.util.Collection)
-
-