Interface CfnDashboardPropsMixin.WidgetProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDashboardPropsMixin.WidgetProperty.Jsii$Proxy
Enclosing class:
CfnDashboardPropsMixin

@Stability(Stable) public static interface CfnDashboardPropsMixin.WidgetProperty extends software.amazon.jsii.JsiiSerializable
Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.bcm.*;
 CostAndUsageExpressionProperty costAndUsageExpressionProperty_;
 ExpressionProperty expressionProperty_;
 Object table;
 WidgetProperty widgetProperty = WidgetProperty.builder()
         .configs(List.of(WidgetConfigProperty.builder()
                 .displayConfig(DisplayConfigProperty.builder()
                         .graph(Map.of(
                                 "graphKey", GraphDisplayConfigProperty.builder()
                                         .visualType("visualType")
                                         .build()))
                         .table(table)
                         .build())
                 .queryParameters(QueryParametersProperty.builder()
                         .costAndUsage(CostAndUsageQueryProperty.builder()
                                 .filter(CostAndUsageExpressionProperty.builder()
                                         .and(List.of(costAndUsageExpressionProperty_))
                                         .costCategories(CostCategoryValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .dimensions(DimensionValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .not(costAndUsageExpressionProperty_)
                                         .or(List.of(costAndUsageExpressionProperty_))
                                         .tags(TagValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .build())
                                 .granularity("granularity")
                                 .groupBy(List.of(GroupDefinitionProperty.builder()
                                         .key("key")
                                         .type("type")
                                         .build()))
                                 .metrics(List.of("metrics"))
                                 .timeRange(DateTimeRangeProperty.builder()
                                         .endTime(DateTimeValueProperty.builder()
                                                 .type("type")
                                                 .value("value")
                                                 .build())
                                         .startTime(DateTimeValueProperty.builder()
                                                 .type("type")
                                                 .value("value")
                                                 .build())
                                         .build())
                                 .build())
                         .reservationCoverage(ReservationCoverageQueryProperty.builder()
                                 .filter(ExpressionProperty.builder()
                                         .and(List.of(expressionProperty_))
                                         .costCategories(CostCategoryValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .dimensions(DimensionValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .not(expressionProperty_)
                                         .tags(TagValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .build())
                                 .granularity("granularity")
                                 .groupBy(List.of(GroupDefinitionProperty.builder()
                                         .key("key")
                                         .type("type")
                                         .build()))
                                 .metrics(List.of("metrics"))
                                 .timeRange(DateTimeRangeProperty.builder()
                                         .endTime(DateTimeValueProperty.builder()
                                                 .type("type")
                                                 .value("value")
                                                 .build())
                                         .startTime(DateTimeValueProperty.builder()
                                                 .type("type")
                                                 .value("value")
                                                 .build())
                                         .build())
                                 .build())
                         .reservationUtilization(ReservationUtilizationQueryProperty.builder()
                                 .filter(ExpressionProperty.builder()
                                         .and(List.of(expressionProperty_))
                                         .costCategories(CostCategoryValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .dimensions(DimensionValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .not(expressionProperty_)
                                         .tags(TagValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .build())
                                 .granularity("granularity")
                                 .groupBy(List.of(GroupDefinitionProperty.builder()
                                         .key("key")
                                         .type("type")
                                         .build()))
                                 .timeRange(DateTimeRangeProperty.builder()
                                         .endTime(DateTimeValueProperty.builder()
                                                 .type("type")
                                                 .value("value")
                                                 .build())
                                         .startTime(DateTimeValueProperty.builder()
                                                 .type("type")
                                                 .value("value")
                                                 .build())
                                         .build())
                                 .build())
                         .savingsPlansCoverage(SavingsPlansCoverageQueryProperty.builder()
                                 .filter(ExpressionProperty.builder()
                                         .and(List.of(expressionProperty_))
                                         .costCategories(CostCategoryValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .dimensions(DimensionValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .not(expressionProperty_)
                                         .tags(TagValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .build())
                                 .granularity("granularity")
                                 .groupBy(List.of(GroupDefinitionProperty.builder()
                                         .key("key")
                                         .type("type")
                                         .build()))
                                 .metrics(List.of("metrics"))
                                 .timeRange(DateTimeRangeProperty.builder()
                                         .endTime(DateTimeValueProperty.builder()
                                                 .type("type")
                                                 .value("value")
                                                 .build())
                                         .startTime(DateTimeValueProperty.builder()
                                                 .type("type")
                                                 .value("value")
                                                 .build())
                                         .build())
                                 .build())
                         .savingsPlansUtilization(SavingsPlansUtilizationQueryProperty.builder()
                                 .filter(ExpressionProperty.builder()
                                         .and(List.of(expressionProperty_))
                                         .costCategories(CostCategoryValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .dimensions(DimensionValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .not(expressionProperty_)
                                         .tags(TagValuesProperty.builder()
                                                 .key("key")
                                                 .matchOptions(List.of("matchOptions"))
                                                 .values(List.of("values"))
                                                 .build())
                                         .build())
                                 .granularity("granularity")
                                 .timeRange(DateTimeRangeProperty.builder()
                                         .endTime(DateTimeValueProperty.builder()
                                                 .type("type")
                                                 .value("value")
                                                 .build())
                                         .startTime(DateTimeValueProperty.builder()
                                                 .type("type")
                                                 .value("value")
                                                 .build())
                                         .build())
                                 .build())
                         .build())
                 .build()))
         .description("description")
         .height(123)
         .horizontalOffset(123)
         .title("title")
         .width(123)
         .build();
 

See Also: