Class CfnDataSet.LookbackWindowProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSet.LookbackWindowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSet.LookbackWindowProperty>
- Enclosing interface:
CfnDataSet.LookbackWindowProperty
@Stability(Stable)
public static final class CfnDataSet.LookbackWindowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSet.LookbackWindowProperty>
A builder for
CfnDataSet.LookbackWindowProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.columnName(String columnName) Sets the value ofCfnDataSet.LookbackWindowProperty.getColumnName()Sets the value ofCfnDataSet.LookbackWindowProperty.getSize()Sets the value ofCfnDataSet.LookbackWindowProperty.getSizeUnit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnName
Sets the value ofCfnDataSet.LookbackWindowProperty.getColumnName()- Parameters:
columnName- The name of the lookback window column. This parameter is required.- Returns:
this
-
size
Sets the value ofCfnDataSet.LookbackWindowProperty.getSize()- Parameters:
size- The lookback window column size. This parameter is required.- Returns:
this
-
sizeUnit
Sets the value ofCfnDataSet.LookbackWindowProperty.getSizeUnit()- Parameters:
sizeUnit- The size unit that is used for the lookback window column. This parameter is required. Valid values for this structure areHOUR,DAY, andWEEK.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSet.LookbackWindowProperty>- Returns:
- a new instance of
CfnDataSet.LookbackWindowProperty - Throws:
NullPointerException- if any required attribute was not provided
-