Interface CfnBudget.ExpressionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBudget.ExpressionProperty.Jsii$Proxy
- Enclosing class:
CfnBudget
@Stability(Stable)
public static interface CfnBudget.ExpressionProperty
extends software.amazon.jsii.JsiiSerializable
Use Expression to filter in various Budgets APIs.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.budgets.*;
ExpressionProperty expressionProperty_;
ExpressionProperty expressionProperty = ExpressionProperty.builder()
.and(List.of(expressionProperty_))
.costCategories(CostCategoryValuesProperty.builder()
.key("key")
.matchOptions(List.of("matchOptions"))
.values(List.of("values"))
.build())
.dimensions(ExpressionDimensionValuesProperty.builder()
.key("key")
.matchOptions(List.of("matchOptions"))
.values(List.of("values"))
.build())
.not(expressionProperty_)
.or(List.of(expressionProperty_))
.tags(TagValuesProperty.builder()
.key("key")
.matchOptions(List.of("matchOptions"))
.values(List.of("values"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBudget.ExpressionPropertystatic final classAn implementation forCfnBudget.ExpressionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetAnd()Return results that match both Dimension objects.default ObjectThe filter that's based on CostCategoryValues.default ObjectThe specific Dimension to use for Expression.default ObjectgetNot()Return results that don't match a Dimension object.default ObjectgetOr()Return results that match either Dimension object.default CfnBudget.TagValuesPropertygetTags()The specific Tag to use for Expression.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAnd
Return results that match both Dimension objects.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBudget.ExpressionProperty>- See Also:
-
getCostCategories
The filter that's based on CostCategoryValues.Returns union: either
IResolvableorCfnBudget.CostCategoryValuesProperty- See Also:
-
getDimensions
The specific Dimension to use for Expression.Returns union: either
IResolvableorCfnBudget.ExpressionDimensionValuesProperty- See Also:
-
getNot
Return results that don't match a Dimension object.Returns union: either
IResolvableorCfnBudget.ExpressionProperty- See Also:
-
getOr
Return results that match either Dimension object.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBudget.ExpressionProperty>- See Also:
-
getTags
The specific Tag to use for Expression.- See Also:
-
builder
-