Class CfnTemplatePropsMixin.WhatIfRangeScenarioProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnTemplatePropsMixin.WhatIfRangeScenarioProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.WhatIfRangeScenarioProperty>
- Enclosing interface:
CfnTemplatePropsMixin.WhatIfRangeScenarioProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.WhatIfRangeScenarioProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.WhatIfRangeScenarioProperty>
A builder for
CfnTemplatePropsMixin.WhatIfRangeScenarioProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTemplatePropsMixin.WhatIfRangeScenarioProperty.getEndDate()Sets the value ofCfnTemplatePropsMixin.WhatIfRangeScenarioProperty.getStartDate()Sets the value ofCfnTemplatePropsMixin.WhatIfRangeScenarioProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endDate
@Stability(Stable) public CfnTemplatePropsMixin.WhatIfRangeScenarioProperty.Builder endDate(String endDate) Sets the value ofCfnTemplatePropsMixin.WhatIfRangeScenarioProperty.getEndDate()- Parameters:
endDate- The end date in the date range that you need the forecast results for.- Returns:
this
-
startDate
@Stability(Stable) public CfnTemplatePropsMixin.WhatIfRangeScenarioProperty.Builder startDate(String startDate) Sets the value ofCfnTemplatePropsMixin.WhatIfRangeScenarioProperty.getStartDate()- Parameters:
startDate- The start date in the date range that you need the forecast results for.- Returns:
this
-
value
@Stability(Stable) public CfnTemplatePropsMixin.WhatIfRangeScenarioProperty.Builder value(Number value) Sets the value ofCfnTemplatePropsMixin.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<CfnTemplatePropsMixin.WhatIfRangeScenarioProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.WhatIfRangeScenarioProperty - Throws:
NullPointerException- if any required attribute was not provided
-