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