All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.dataplex.v1.outputs.GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationResponse Maven / Gradle / Ivy

// *** 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.googlenative.dataplex.v1.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationResponse {
    /**
     * @return The maximum column statistic value allowed for a row to pass this validation.At least one of min_value and max_value need to be provided.
     * 
     */
    private String maxValue;
    /**
     * @return The minimum column statistic value allowed for a row to pass this validation.At least one of min_value and max_value need to be provided.
     * 
     */
    private String minValue;
    /**
     * @return The aggregate metric to evaluate.
     * 
     */
    private String statistic;
    /**
     * @return Whether column statistic needs to be strictly lesser than ('<') the maximum, or if equality is allowed.Only relevant if a max_value has been defined. Default = false.
     * 
     */
    private Boolean strictMaxEnabled;
    /**
     * @return Whether column statistic needs to be strictly greater than ('>') the minimum, or if equality is allowed.Only relevant if a min_value has been defined. Default = false.
     * 
     */
    private Boolean strictMinEnabled;

    private GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationResponse() {}
    /**
     * @return The maximum column statistic value allowed for a row to pass this validation.At least one of min_value and max_value need to be provided.
     * 
     */
    public String maxValue() {
        return this.maxValue;
    }
    /**
     * @return The minimum column statistic value allowed for a row to pass this validation.At least one of min_value and max_value need to be provided.
     * 
     */
    public String minValue() {
        return this.minValue;
    }
    /**
     * @return The aggregate metric to evaluate.
     * 
     */
    public String statistic() {
        return this.statistic;
    }
    /**
     * @return Whether column statistic needs to be strictly lesser than ('<') the maximum, or if equality is allowed.Only relevant if a max_value has been defined. Default = false.
     * 
     */
    public Boolean strictMaxEnabled() {
        return this.strictMaxEnabled;
    }
    /**
     * @return Whether column statistic needs to be strictly greater than ('>') the minimum, or if equality is allowed.Only relevant if a min_value has been defined. Default = false.
     * 
     */
    public Boolean strictMinEnabled() {
        return this.strictMinEnabled;
    }

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

    public static Builder builder(GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String maxValue;
        private String minValue;
        private String statistic;
        private Boolean strictMaxEnabled;
        private Boolean strictMinEnabled;
        public Builder() {}
        public Builder(GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.maxValue = defaults.maxValue;
    	      this.minValue = defaults.minValue;
    	      this.statistic = defaults.statistic;
    	      this.strictMaxEnabled = defaults.strictMaxEnabled;
    	      this.strictMinEnabled = defaults.strictMinEnabled;
        }

        @CustomType.Setter
        public Builder maxValue(String maxValue) {
            this.maxValue = Objects.requireNonNull(maxValue);
            return this;
        }
        @CustomType.Setter
        public Builder minValue(String minValue) {
            this.minValue = Objects.requireNonNull(minValue);
            return this;
        }
        @CustomType.Setter
        public Builder statistic(String statistic) {
            this.statistic = Objects.requireNonNull(statistic);
            return this;
        }
        @CustomType.Setter
        public Builder strictMaxEnabled(Boolean strictMaxEnabled) {
            this.strictMaxEnabled = Objects.requireNonNull(strictMaxEnabled);
            return this;
        }
        @CustomType.Setter
        public Builder strictMinEnabled(Boolean strictMinEnabled) {
            this.strictMinEnabled = Objects.requireNonNull(strictMinEnabled);
            return this;
        }
        public GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationResponse build() {
            final var o = new GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectationResponse();
            o.maxValue = maxValue;
            o.minValue = minValue;
            o.statistic = statistic;
            o.strictMaxEnabled = strictMaxEnabled;
            o.strictMinEnabled = strictMinEnabled;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy