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