// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.gcp.monitoring.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class NotificationChannelSensitiveLabels {
    /**
     * @return An authorization token for a notification channel. Channel types that support this field include: slack
     * **Note**: This property is sensitive and will not be displayed in the plan.
     * 
     */
    private @Nullable String authToken;
    /**
     * @return An password for a notification channel. Channel types that support this field include: webhook_basicauth
     * **Note**: This property is sensitive and will not be displayed in the plan.
     * 
     */
    private @Nullable String password;
    /**
     * @return An servicekey token for a notification channel. Channel types that support this field include: pagerduty
     * **Note**: This property is sensitive and will not be displayed in the plan.
     * 
     */
    private @Nullable String serviceKey;

    private NotificationChannelSensitiveLabels() {}
    /**
     * @return An authorization token for a notification channel. Channel types that support this field include: slack
     * **Note**: This property is sensitive and will not be displayed in the plan.
     * 
     */
    public Optional<String> authToken() {
        return Optional.ofNullable(this.authToken);
    }
    /**
     * @return An password for a notification channel. Channel types that support this field include: webhook_basicauth
     * **Note**: This property is sensitive and will not be displayed in the plan.
     * 
     */
    public Optional<String> password() {
        return Optional.ofNullable(this.password);
    }
    /**
     * @return An servicekey token for a notification channel. Channel types that support this field include: pagerduty
     * **Note**: This property is sensitive and will not be displayed in the plan.
     * 
     */
    public Optional<String> serviceKey() {
        return Optional.ofNullable(this.serviceKey);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(NotificationChannelSensitiveLabels defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String authToken;
        private @Nullable String password;
        private @Nullable String serviceKey;
        public Builder() {}
        public Builder(NotificationChannelSensitiveLabels defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.authToken = defaults.authToken;
    	      this.password = defaults.password;
    	      this.serviceKey = defaults.serviceKey;
        }

        @CustomType.Setter
        public Builder authToken(@Nullable String authToken) {
            this.authToken = authToken;
            return this;
        }
        @CustomType.Setter
        public Builder password(@Nullable String password) {
            this.password = password;
            return this;
        }
        @CustomType.Setter
        public Builder serviceKey(@Nullable String serviceKey) {
            this.serviceKey = serviceKey;
            return this;
        }
        public NotificationChannelSensitiveLabels build() {
            final var o = new NotificationChannelSensitiveLabels();
            o.authToken = authToken;
            o.password = password;
            o.serviceKey = serviceKey;
            return o;
        }
    }
}
