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