Class CfnAnalysisPropsMixin.WhatIfRangeScenarioProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnAnalysisPropsMixin.WhatIfRangeScenarioProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysisPropsMixin.WhatIfRangeScenarioProperty>
- Enclosing interface:
CfnAnalysisPropsMixin.WhatIfRangeScenarioProperty
@Stability(Stable)
public static final class CfnAnalysisPropsMixin.WhatIfRangeScenarioProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysisPropsMixin.WhatIfRangeScenarioProperty>
A builder for
CfnAnalysisPropsMixin.WhatIfRangeScenarioProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAnalysisPropsMixin.WhatIfRangeScenarioProperty.getEndDate()Sets the value ofCfnAnalysisPropsMixin.WhatIfRangeScenarioProperty.getStartDate()Sets the value ofCfnAnalysisPropsMixin.WhatIfRangeScenarioProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endDate
@Stability(Stable) public CfnAnalysisPropsMixin.WhatIfRangeScenarioProperty.Builder endDate(String endDate) Sets the value ofCfnAnalysisPropsMixin.WhatIfRangeScenarioProperty.getEndDate()- Parameters:
endDate- The end date in the date range that you need the forecast results for.- Returns:
this
-
startDate
@Stability(Stable) public CfnAnalysisPropsMixin.WhatIfRangeScenarioProperty.Builder startDate(String startDate) Sets the value ofCfnAnalysisPropsMixin.WhatIfRangeScenarioProperty.getStartDate()- Parameters:
startDate- The start date in the date range that you need the forecast results for.- Returns:
this
-
value
@Stability(Stable) public CfnAnalysisPropsMixin.WhatIfRangeScenarioProperty.Builder value(Number value) Sets the value ofCfnAnalysisPropsMixin.WhatIfRangeScenarioProperty.getValue()- Parameters:
value- The target value that you want to meet for the provided date range.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysisPropsMixin.WhatIfRangeScenarioProperty>- Returns:
- a new instance of
CfnAnalysisPropsMixin.WhatIfRangeScenarioProperty - Throws:
NullPointerException- if any required attribute was not provided
-