Class BillingBudgetAllUpdatesRule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.billing_budget.BillingBudgetAllUpdatesRule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BillingBudgetAllUpdatesRule>
- Enclosing interface:
- BillingBudgetAllUpdatesRule
@Stability(Stable) public static final class BillingBudgetAllUpdatesRule.Builder extends Object implements software.amazon.jsii.Builder<BillingBudgetAllUpdatesRule>
A builder forBillingBudgetAllUpdatesRule
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
disableDefaultIamRecipients
@Stability(Stable) public BillingBudgetAllUpdatesRule.Builder disableDefaultIamRecipients(Boolean disableDefaultIamRecipients)
Sets the value ofBillingBudgetAllUpdatesRule.getDisableDefaultIamRecipients()- 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)
Sets the value ofBillingBudgetAllUpdatesRule.getDisableDefaultIamRecipients()- 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)
Sets the value ofBillingBudgetAllUpdatesRule.getEnableProjectLevelRecipients()- 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)
Sets the value ofBillingBudgetAllUpdatesRule.getEnableProjectLevelRecipients()- 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)
Sets the value ofBillingBudgetAllUpdatesRule.getMonitoringNotificationChannels()- 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)
Sets the value ofBillingBudgetAllUpdatesRule.getPubsubTopic()- 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)
Sets the value ofBillingBudgetAllUpdatesRule.getSchemaVersion()- 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
-
build
@Stability(Stable) public BillingBudgetAllUpdatesRule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BillingBudgetAllUpdatesRule>- Returns:
- a new instance of
BillingBudgetAllUpdatesRule - Throws:
NullPointerException- if any required attribute was not provided
-
-