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