Class CfnDashboardPropsMixin.ExcludePeriodConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDashboardPropsMixin.ExcludePeriodConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.ExcludePeriodConfigurationProperty>
- Enclosing interface:
CfnDashboardPropsMixin.ExcludePeriodConfigurationProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.ExcludePeriodConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.ExcludePeriodConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDashboardPropsMixin.ExcludePeriodConfigurationProperty.getAmount()build()Builds the configured instance.granularity(String granularity) Sets the value ofCfnDashboardPropsMixin.ExcludePeriodConfigurationProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
amount
@Stability(Stable) public CfnDashboardPropsMixin.ExcludePeriodConfigurationProperty.Builder amount(Number amount) Sets the value ofCfnDashboardPropsMixin.ExcludePeriodConfigurationProperty.getAmount()- Parameters:
amount- The amount or number of the exclude period.- Returns:
this
-
granularity
@Stability(Stable) public CfnDashboardPropsMixin.ExcludePeriodConfigurationProperty.Builder granularity(String granularity) - Parameters:
granularity- The granularity or unit (day, month, year) of the exclude period.- Returns:
this
-
status
@Stability(Stable) public CfnDashboardPropsMixin.ExcludePeriodConfigurationProperty.Builder status(String status) Sets the value ofCfnDashboardPropsMixin.ExcludePeriodConfigurationProperty.getStatus()- Parameters:
status- The status of the exclude period. Choose from the following options:.ENABLEDDISABLED
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardPropsMixin.ExcludePeriodConfigurationProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.ExcludePeriodConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-