Class BillingBudgetThresholdRules.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • thresholdPercent

        @Stability(Stable)
        public BillingBudgetThresholdRules.Builder thresholdPercent​(Number thresholdPercent)
        Parameters:
        thresholdPercent - Send an alert when this threshold is exceeded. This parameter is required. This is a 1.0-based percentage, so 0.5 = 50%. Must be >= 0. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#threshold_percent BillingBudget#threshold_percent}
        Returns:
        this
      • spendBasis

        @Stability(Stable)
        public BillingBudgetThresholdRules.Builder spendBasis​(String spendBasis)
        Parameters:
        spendBasis - The type of basis used to determine if spend has passed the threshold. Default value: "CURRENT_SPEND" Possible values: ["CURRENT_SPEND", "FORECASTED_SPEND"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#spend_basis BillingBudget#spend_basis}
        Returns:
        this