Class BillingBudgetAllUpdatesRule.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • disableDefaultIamRecipients

        @Stability(Stable)
        public BillingBudgetAllUpdatesRule.Builder disableDefaultIamRecipients​(Boolean disableDefaultIamRecipients)
        Parameters:
        disableDefaultIamRecipients - Boolean. When set to true, disables default notifications sent when a threshold is exceeded. Default recipients are those with Billing Account Administrators and Billing Account Users IAM roles for the target account. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#disable_default_iam_recipients BillingBudget#disable_default_iam_recipients}
        Returns:
        this
      • disableDefaultIamRecipients

        @Stability(Stable)
        public BillingBudgetAllUpdatesRule.Builder disableDefaultIamRecipients​(com.hashicorp.cdktf.IResolvable disableDefaultIamRecipients)
        Parameters:
        disableDefaultIamRecipients - Boolean. When set to true, disables default notifications sent when a threshold is exceeded. Default recipients are those with Billing Account Administrators and Billing Account Users IAM roles for the target account. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#disable_default_iam_recipients BillingBudget#disable_default_iam_recipients}
        Returns:
        this
      • enableProjectLevelRecipients

        @Stability(Stable)
        public BillingBudgetAllUpdatesRule.Builder enableProjectLevelRecipients​(Boolean enableProjectLevelRecipients)
        Parameters:
        enableProjectLevelRecipients - When set to true, and when the budget has a single project configured, notifications will be sent to project level recipients of that project. This field will be ignored if the budget has multiple or no project configured. Currently, project level recipients are the users with Owner role on a cloud project. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#enable_project_level_recipients BillingBudget#enable_project_level_recipients}
        Returns:
        this
      • enableProjectLevelRecipients

        @Stability(Stable)
        public BillingBudgetAllUpdatesRule.Builder enableProjectLevelRecipients​(com.hashicorp.cdktf.IResolvable enableProjectLevelRecipients)
        Parameters:
        enableProjectLevelRecipients - When set to true, and when the budget has a single project configured, notifications will be sent to project level recipients of that project. This field will be ignored if the budget has multiple or no project configured. Currently, project level recipients are the users with Owner role on a cloud project. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#enable_project_level_recipients BillingBudget#enable_project_level_recipients}
        Returns:
        this
      • monitoringNotificationChannels

        @Stability(Stable)
        public BillingBudgetAllUpdatesRule.Builder monitoringNotificationChannels​(List<String> monitoringNotificationChannels)
        Parameters:
        monitoringNotificationChannels - The full resource name of a monitoring notification channel in the form projects/{project_id}/notificationChannels/{channel_id}. A maximum of 5 channels are allowed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#monitoring_notification_channels BillingBudget#monitoring_notification_channels}
        Returns:
        this
      • pubsubTopic

        @Stability(Stable)
        public BillingBudgetAllUpdatesRule.Builder pubsubTopic​(String pubsubTopic)
        Parameters:
        pubsubTopic - The name of the Cloud Pub/Sub topic where budget related messages will be published, in the form projects/{project_id}/topics/{topic_id}. Updates are sent at regular intervals to the topic. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#pubsub_topic BillingBudget#pubsub_topic}
        Returns:
        this
      • schemaVersion

        @Stability(Stable)
        public BillingBudgetAllUpdatesRule.Builder schemaVersion​(String schemaVersion)
        Parameters:
        schemaVersion - The schema version of the notification. Only "1.0" is accepted. It represents the JSON schema as defined in https://cloud.google.com/billing/docs/how-to/budgets#notification_format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/billing_budget#schema_version BillingBudget#schema_version}
        Returns:
        this