Class CostExplorerConfig.Builder
java.lang.Object
io.floci.testcontainers.config.services.AbstractServiceConfigBuilder<CostExplorerConfig.Builder,CostExplorerConfig>
io.floci.testcontainers.config.services.CostExplorerConfig.Builder
- Enclosing class:
- CostExplorerConfig
public static class CostExplorerConfig.Builder
extends AbstractServiceConfigBuilder<CostExplorerConfig.Builder,CostExplorerConfig>
Builder for
CostExplorerConfig.-
Field Summary
Fields inherited from class io.floci.testcontainers.config.services.AbstractServiceConfigBuilder
enabled -
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates an immutableCostExplorerConfigfrom this builder.creditUsdMonthly(double creditUsdMonthly) Sets the synthetic monthly USD credit applied as aCreditRECORD_TYPErow inGetCostAndUsageresponses.Methods inherited from class io.floci.testcontainers.config.services.AbstractServiceConfigBuilder
enabled
-
Method Details
-
creditUsdMonthly
Sets the synthetic monthly USD credit applied as aCreditRECORD_TYPErow inGetCostAndUsageresponses. The emitted credit is capped at the synthesized monthly usage so net cost never goes below zero.- Parameters:
creditUsdMonthly- the monthly credit in USD (default 0.0)- Returns:
- this builder
-
build
Creates an immutableCostExplorerConfigfrom this builder.- Specified by:
buildin classAbstractServiceConfigBuilder<CostExplorerConfig.Builder,CostExplorerConfig> - Returns:
- the Cost Explorer configuration
-