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

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


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

    public static final SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs Empty = new SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs();

    /**
     * A duration string, e.g. 10s.
     * Good service is defined to be the count of requests made to
     * this service that return in no more than threshold.
     * 
     */
    @Import(name="threshold", required=true)
    private Output<String> threshold;

    /**
     * @return A duration string, e.g. 10s.
     * Good service is defined to be the count of requests made to
     * this service that return in no more than threshold.
     * 
     */
    public Output<String> threshold() {
        return this.threshold;
    }

    private SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs() {}

    private SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs(SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs $) {
        this.threshold = $.threshold;
    }

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

    public static final class Builder {
        private SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs $;

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

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

        /**
         * @param threshold A duration string, e.g. 10s.
         * Good service is defined to be the count of requests made to
         * this service that return in no more than threshold.
         * 
         * @return builder
         * 
         */
        public Builder threshold(Output<String> threshold) {
            $.threshold = threshold;
            return this;
        }

        /**
         * @param threshold A duration string, e.g. 10s.
         * Good service is defined to be the count of requests made to
         * this service that return in no more than threshold.
         * 
         * @return builder
         * 
         */
        public Builder threshold(String threshold) {
            return threshold(Output.of(threshold));
        }

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

}
