Class CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bcm.CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty>
- Enclosing interface:
CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty>
A builder for
CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.getFilter()filter(IResolvable filter) Sets the value ofCfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.getFilter()granularity(String granularity) Sets the value ofCfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.getGroupBy()groupBy(IResolvable groupBy) Sets the value ofCfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.getGroupBy()Sets the value ofCfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.getMetrics()Sets the value ofCfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.getTimeRange()timeRange(IResolvable timeRange) Sets the value ofCfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.getTimeRange()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filter
@Stability(Stable) public CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.Builder filter(IResolvable filter) Sets the value ofCfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.getFilter()- Parameters:
filter- the value to be set.- Returns:
this
-
filter
@Stability(Stable) public CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.Builder filter(CfnDashboardPropsMixin.ExpressionProperty filter) Sets the value ofCfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.getFilter()- Parameters:
filter- the value to be set.- Returns:
this
-
granularity
@Stability(Stable) public CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.Builder granularity(String granularity) - Parameters:
granularity- the value to be set.- Returns:
this
-
groupBy
@Stability(Stable) public CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.Builder groupBy(IResolvable groupBy) Sets the value ofCfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.getGroupBy()- Parameters:
groupBy- the value to be set.- Returns:
this
-
groupBy
@Stability(Stable) public CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.Builder groupBy(List<? extends Object> groupBy) Sets the value ofCfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.getGroupBy()- Parameters:
groupBy- the value to be set.- Returns:
this
-
metrics
@Stability(Stable) public CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.Builder metrics(List<String> metrics) Sets the value ofCfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.getMetrics()- Parameters:
metrics- the value to be set.- Returns:
this
-
timeRange
@Stability(Stable) public CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.Builder timeRange(IResolvable timeRange) Sets the value ofCfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.getTimeRange()- Parameters:
timeRange- the value to be set.- Returns:
this
-
timeRange
@Stability(Stable) public CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.Builder timeRange(CfnDashboardPropsMixin.DateTimeRangeProperty timeRange) Sets the value ofCfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty.getTimeRange()- Parameters:
timeRange- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.SavingsPlansCoverageQueryProperty - Throws:
NullPointerException- if any required attribute was not provided
-