Class TableSummaryProps.Builder
java.lang.Object
software.amazon.awscdk.services.cloudwatch.TableSummaryProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TableSummaryProps>
- Enclosing interface:
TableSummaryProps
@Stability(Stable)
public static final class TableSummaryProps.Builder
extends Object
implements software.amazon.jsii.Builder<TableSummaryProps>
A builder for
TableSummaryProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.columns
(List<? extends TableSummaryColumn> columns) Sets the value ofTableSummaryProps.getColumns()
hideNonSummaryColumns
(Boolean hideNonSummaryColumns) Sets the value ofTableSummaryProps.getHideNonSummaryColumns()
Sets the value ofTableSummaryProps.getSticky()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columns
@Stability(Stable) public TableSummaryProps.Builder columns(List<? extends TableSummaryColumn> columns) Sets the value ofTableSummaryProps.getColumns()
- Parameters:
columns
- Summary columns.- Returns:
this
-
hideNonSummaryColumns
@Stability(Stable) public TableSummaryProps.Builder hideNonSummaryColumns(Boolean hideNonSummaryColumns) Sets the value ofTableSummaryProps.getHideNonSummaryColumns()
- Parameters:
hideNonSummaryColumns
- Prevent the columns of datapoints from being displayed, so that only the label and summary columns are displayed.- Returns:
this
-
sticky
Sets the value ofTableSummaryProps.getSticky()
- Parameters:
sticky
- Make the summary columns sticky, so that they remain in view while scrolling.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<TableSummaryProps>
- Returns:
- a new instance of
TableSummaryProps
- Throws:
NullPointerException
- if any required attribute was not provided
-