Class CfnDashboardPropsMixin.CostAndUsageExpressionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bcm.CfnDashboardPropsMixin.CostAndUsageExpressionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.CostAndUsageExpressionProperty>
- Enclosing interface:
CfnDashboardPropsMixin.CostAndUsageExpressionProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.CostAndUsageExpressionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.CostAndUsageExpressionProperty>
A builder for
CfnDashboardPropsMixin.CostAndUsageExpressionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getAnd()and(IResolvable and) Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getAnd()build()Builds the configured instance.costCategories(CfnDashboardPropsMixin.CostCategoryValuesProperty costCategories) costCategories(IResolvable costCategories) Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getDimensions()dimensions(IResolvable dimensions) Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getDimensions()Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getNot()not(IResolvable not) Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getNot()Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getOr()or(IResolvable or) Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getOr()Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
and
@Stability(Stable) public CfnDashboardPropsMixin.CostAndUsageExpressionProperty.Builder and(IResolvable and) Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getAnd()- Parameters:
and- the value to be set.- Returns:
this
-
and
@Stability(Stable) public CfnDashboardPropsMixin.CostAndUsageExpressionProperty.Builder and(List<? extends Object> and) Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getAnd()- Parameters:
and- the value to be set.- Returns:
this
-
costCategories
@Stability(Stable) public CfnDashboardPropsMixin.CostAndUsageExpressionProperty.Builder costCategories(IResolvable costCategories) - Parameters:
costCategories- the value to be set.- Returns:
this
-
costCategories
@Stability(Stable) public CfnDashboardPropsMixin.CostAndUsageExpressionProperty.Builder costCategories(CfnDashboardPropsMixin.CostCategoryValuesProperty costCategories) - Parameters:
costCategories- the value to be set.- Returns:
this
-
dimensions
@Stability(Stable) public CfnDashboardPropsMixin.CostAndUsageExpressionProperty.Builder dimensions(IResolvable dimensions) Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getDimensions()- Parameters:
dimensions- the value to be set.- Returns:
this
-
dimensions
@Stability(Stable) public CfnDashboardPropsMixin.CostAndUsageExpressionProperty.Builder dimensions(CfnDashboardPropsMixin.DimensionValuesProperty dimensions) Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getDimensions()- Parameters:
dimensions- the value to be set.- Returns:
this
-
not
@Stability(Stable) public CfnDashboardPropsMixin.CostAndUsageExpressionProperty.Builder not(IResolvable not) Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getNot()- Parameters:
not- the value to be set.- Returns:
this
-
not
@Stability(Stable) public CfnDashboardPropsMixin.CostAndUsageExpressionProperty.Builder not(CfnDashboardPropsMixin.CostAndUsageExpressionProperty not) Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getNot()- Parameters:
not- the value to be set.- Returns:
this
-
or
@Stability(Stable) public CfnDashboardPropsMixin.CostAndUsageExpressionProperty.Builder or(IResolvable or) Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getOr()- Parameters:
or- the value to be set.- Returns:
this
-
or
@Stability(Stable) public CfnDashboardPropsMixin.CostAndUsageExpressionProperty.Builder or(List<? extends Object> or) Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getOr()- Parameters:
or- the value to be set.- Returns:
this
-
tags
@Stability(Stable) public CfnDashboardPropsMixin.CostAndUsageExpressionProperty.Builder tags(CfnDashboardPropsMixin.TagValuesProperty tags) Sets the value ofCfnDashboardPropsMixin.CostAndUsageExpressionProperty.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardPropsMixin.CostAndUsageExpressionProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.CostAndUsageExpressionProperty - Throws:
NullPointerException- if any required attribute was not provided
-