Class CfnAnalysis.ExcludePeriodConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.ExcludePeriodConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.ExcludePeriodConfigurationProperty>
- Enclosing interface:
CfnAnalysis.ExcludePeriodConfigurationProperty
@Stability(Stable)
public static final class CfnAnalysis.ExcludePeriodConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.ExcludePeriodConfigurationProperty>
A builder for
CfnAnalysis.ExcludePeriodConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAnalysis.ExcludePeriodConfigurationProperty.getAmount()
build()
Builds the configured instance.granularity
(String granularity) Sets the value ofCfnAnalysis.ExcludePeriodConfigurationProperty.getGranularity()
Sets the value ofCfnAnalysis.ExcludePeriodConfigurationProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
amount
@Stability(Stable) public CfnAnalysis.ExcludePeriodConfigurationProperty.Builder amount(Number amount) Sets the value ofCfnAnalysis.ExcludePeriodConfigurationProperty.getAmount()
- Parameters:
amount
- The amount or number of the exclude period. This parameter is required.- Returns:
this
-
granularity
@Stability(Stable) public CfnAnalysis.ExcludePeriodConfigurationProperty.Builder granularity(String granularity) Sets the value ofCfnAnalysis.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 CfnAnalysis.ExcludePeriodConfigurationProperty.Builder status(String status) Sets the value ofCfnAnalysis.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<CfnAnalysis.ExcludePeriodConfigurationProperty>
- Returns:
- a new instance of
CfnAnalysis.ExcludePeriodConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-