// *** 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 com.pulumi.gcp.monitoring.outputs.SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRange;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCut {
    /**
     * @return A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
     * aggregating values to quantify the good service provided.
     * Must have ValueType = DISTRIBUTION and
     * MetricKind = DELTA or MetricKind = CUMULATIVE.
     * 
     */
    private String distributionFilter;
    /**
     * @return Range of numerical values. The computed good_service
     * will be the count of values x in the Distribution such
     * that range.min &lt;= x &lt;= range.max. inclusive of min and
     * max. Open ranges can be defined by setting
     * just one of min or max.
     * Structure is documented below.
     * 
     */
    private SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRange range;

    private SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCut() {}
    /**
     * @return A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
     * aggregating values to quantify the good service provided.
     * Must have ValueType = DISTRIBUTION and
     * MetricKind = DELTA or MetricKind = CUMULATIVE.
     * 
     */
    public String distributionFilter() {
        return this.distributionFilter;
    }
    /**
     * @return Range of numerical values. The computed good_service
     * will be the count of values x in the Distribution such
     * that range.min &lt;= x &lt;= range.max. inclusive of min and
     * max. Open ranges can be defined by setting
     * just one of min or max.
     * Structure is documented below.
     * 
     */
    public SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRange range() {
        return this.range;
    }

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

    public static Builder builder(SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCut defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String distributionFilter;
        private SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRange range;
        public Builder() {}
        public Builder(SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCut defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.distributionFilter = defaults.distributionFilter;
    	      this.range = defaults.range;
        }

        @CustomType.Setter
        public Builder distributionFilter(String distributionFilter) {
            this.distributionFilter = Objects.requireNonNull(distributionFilter);
            return this;
        }
        @CustomType.Setter
        public Builder range(SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRange range) {
            this.range = Objects.requireNonNull(range);
            return this;
        }
        public SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCut build() {
            final var o = new SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCut();
            o.distributionFilter = distributionFilter;
            o.range = range;
            return o;
        }
    }
}
