com.pulumi.googlenative.dataplex.v1.outputs.GoogleCloudDataplexV1DataQualityRuleRangeExpectationResponse 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 GoogleCloudDataplexV1DataQualityRuleRangeExpectationResponse {
/**
* @return Optional. The maximum column 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 Optional. The minimum column 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 Optional. Whether each value 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 Optional. Whether each value 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 GoogleCloudDataplexV1DataQualityRuleRangeExpectationResponse() {}
/**
* @return Optional. The maximum column 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 Optional. The minimum column 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 Optional. Whether each value 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 Optional. Whether each value 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(GoogleCloudDataplexV1DataQualityRuleRangeExpectationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String maxValue;
private String minValue;
private Boolean strictMaxEnabled;
private Boolean strictMinEnabled;
public Builder() {}
public Builder(GoogleCloudDataplexV1DataQualityRuleRangeExpectationResponse defaults) {
Objects.requireNonNull(defaults);
this.maxValue = defaults.maxValue;
this.minValue = defaults.minValue;
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 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 GoogleCloudDataplexV1DataQualityRuleRangeExpectationResponse build() {
final var o = new GoogleCloudDataplexV1DataQualityRuleRangeExpectationResponse();
o.maxValue = maxValue;
o.minValue = minValue;
o.strictMaxEnabled = strictMaxEnabled;
o.strictMinEnabled = strictMinEnabled;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy