Class MonitoringAlertPolicyAlertStrategyNotificationChannelStrategy.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.monitoring_alert_policy.MonitoringAlertPolicyAlertStrategyNotificationChannelStrategy.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MonitoringAlertPolicyAlertStrategyNotificationChannelStrategy>
- Enclosing interface:
- MonitoringAlertPolicyAlertStrategyNotificationChannelStrategy
@Stability(Stable) public static final class MonitoringAlertPolicyAlertStrategyNotificationChannelStrategy.Builder extends Object implements software.amazon.jsii.Builder<MonitoringAlertPolicyAlertStrategyNotificationChannelStrategy>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoringAlertPolicyAlertStrategyNotificationChannelStrategybuild()Builds the configured instance.MonitoringAlertPolicyAlertStrategyNotificationChannelStrategy.BuildernotificationChannelNames(List<String> notificationChannelNames)MonitoringAlertPolicyAlertStrategyNotificationChannelStrategy.BuilderrenotifyInterval(String renotifyInterval)
-
-
-
Method Detail
-
notificationChannelNames
@Stability(Stable) public MonitoringAlertPolicyAlertStrategyNotificationChannelStrategy.Builder notificationChannelNames(List<String> notificationChannelNames)
Sets the value ofMonitoringAlertPolicyAlertStrategyNotificationChannelStrategy.getNotificationChannelNames()- Parameters:
notificationChannelNames- The notification channels that these settings apply to. Each of these correspond to the name field in one of the NotificationChannel objects referenced in the notification_channels field of this AlertPolicy. The format is 'projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#notification_channel_names MonitoringAlertPolicy#notification_channel_names}- Returns:
this
-
renotifyInterval
@Stability(Stable) public MonitoringAlertPolicyAlertStrategyNotificationChannelStrategy.Builder renotifyInterval(String renotifyInterval)
Sets the value ofMonitoringAlertPolicyAlertStrategyNotificationChannelStrategy.getRenotifyInterval()- Parameters:
renotifyInterval- The frequency at which to send reminder notifications for open incidents. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#renotify_interval MonitoringAlertPolicy#renotify_interval}- Returns:
this
-
build
@Stability(Stable) public MonitoringAlertPolicyAlertStrategyNotificationChannelStrategy build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MonitoringAlertPolicyAlertStrategyNotificationChannelStrategy>- Returns:
- a new instance of
MonitoringAlertPolicyAlertStrategyNotificationChannelStrategy - Throws:
NullPointerException- if any required attribute was not provided
-
-