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