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