// *** 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.vertex.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Double;
import java.util.Objects;


public final class AiFeatureStoreEntityTypeMonitoringConfigCategoricalThresholdConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final AiFeatureStoreEntityTypeMonitoringConfigCategoricalThresholdConfigArgs Empty = new AiFeatureStoreEntityTypeMonitoringConfigCategoricalThresholdConfigArgs();

    /**
     * Specify a threshold value that can trigger the alert. For categorical feature, the distribution distance is calculated by L-inifinity norm. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature. The default value is 0.3.
     * 
     */
    @Import(name="value", required=true)
    private Output<Double> value;

    /**
     * @return Specify a threshold value that can trigger the alert. For categorical feature, the distribution distance is calculated by L-inifinity norm. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature. The default value is 0.3.
     * 
     */
    public Output<Double> value() {
        return this.value;
    }

    private AiFeatureStoreEntityTypeMonitoringConfigCategoricalThresholdConfigArgs() {}

    private AiFeatureStoreEntityTypeMonitoringConfigCategoricalThresholdConfigArgs(AiFeatureStoreEntityTypeMonitoringConfigCategoricalThresholdConfigArgs $) {
        this.value = $.value;
    }

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

    public static final class Builder {
        private AiFeatureStoreEntityTypeMonitoringConfigCategoricalThresholdConfigArgs $;

        public Builder() {
            $ = new AiFeatureStoreEntityTypeMonitoringConfigCategoricalThresholdConfigArgs();
        }

        public Builder(AiFeatureStoreEntityTypeMonitoringConfigCategoricalThresholdConfigArgs defaults) {
            $ = new AiFeatureStoreEntityTypeMonitoringConfigCategoricalThresholdConfigArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param value Specify a threshold value that can trigger the alert. For categorical feature, the distribution distance is calculated by L-inifinity norm. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature. The default value is 0.3.
         * 
         * @return builder
         * 
         */
        public Builder value(Output<Double> value) {
            $.value = value;
            return this;
        }

        /**
         * @param value Specify a threshold value that can trigger the alert. For categorical feature, the distribution distance is calculated by L-inifinity norm. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature. The default value is 0.3.
         * 
         * @return builder
         * 
         */
        public Builder value(Double value) {
            return value(Output.of(value));
        }

        public AiFeatureStoreEntityTypeMonitoringConfigCategoricalThresholdConfigArgs build() {
            $.value = Objects.requireNonNull($.value, "expected parameter 'value' to be non-null");
            return $;
        }
    }

}
