Class MonitoringNotificationChannelSensitiveLabels.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.monitoring_notification_channel.MonitoringNotificationChannelSensitiveLabels.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MonitoringNotificationChannelSensitiveLabels>
- Enclosing interface:
- MonitoringNotificationChannelSensitiveLabels
@Stability(Stable) public static final class MonitoringNotificationChannelSensitiveLabels.Builder extends Object implements software.amazon.jsii.Builder<MonitoringNotificationChannelSensitiveLabels>
A builder forMonitoringNotificationChannelSensitiveLabels
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoringNotificationChannelSensitiveLabels.BuilderauthToken(String authToken)Sets the value ofMonitoringNotificationChannelSensitiveLabels.getAuthToken()MonitoringNotificationChannelSensitiveLabelsbuild()Builds the configured instance.MonitoringNotificationChannelSensitiveLabels.Builderpassword(String password)Sets the value ofMonitoringNotificationChannelSensitiveLabels.getPassword()MonitoringNotificationChannelSensitiveLabels.BuilderserviceKey(String serviceKey)Sets the value ofMonitoringNotificationChannelSensitiveLabels.getServiceKey()
-
-
-
Method Detail
-
authToken
@Stability(Stable) public MonitoringNotificationChannelSensitiveLabels.Builder authToken(String authToken)
Sets the value ofMonitoringNotificationChannelSensitiveLabels.getAuthToken()- Parameters:
authToken- An authorization token for a notification channel. Channel types that support this field include: slack. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_notification_channel#auth_token MonitoringNotificationChannel#auth_token}- Returns:
this
-
password
@Stability(Stable) public MonitoringNotificationChannelSensitiveLabels.Builder password(String password)
Sets the value ofMonitoringNotificationChannelSensitiveLabels.getPassword()- Parameters:
password- An password for a notification channel. Channel types that support this field include: webhook_basicauth. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_notification_channel#password MonitoringNotificationChannel#password}- Returns:
this
-
serviceKey
@Stability(Stable) public MonitoringNotificationChannelSensitiveLabels.Builder serviceKey(String serviceKey)
Sets the value ofMonitoringNotificationChannelSensitiveLabels.getServiceKey()- Parameters:
serviceKey- An servicekey token for a notification channel. Channel types that support this field include: pagerduty. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_notification_channel#service_key MonitoringNotificationChannel#service_key}- Returns:
this
-
build
@Stability(Stable) public MonitoringNotificationChannelSensitiveLabels build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MonitoringNotificationChannelSensitiveLabels>- Returns:
- a new instance of
MonitoringNotificationChannelSensitiveLabels - Throws:
NullPointerException- if any required attribute was not provided
-
-