com.pulumi.azurenative.impact.outputs.ExpectedValueRangeResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
The newest version!
// *** 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.azurenative.impact.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.util.Objects;
@CustomType
public final class ExpectedValueRangeResponse {
/**
* @return Max threshold value for the metric
*
*/
private Double max;
/**
* @return Min threshold value for the metric
*
*/
private Double min;
private ExpectedValueRangeResponse() {}
/**
* @return Max threshold value for the metric
*
*/
public Double max() {
return this.max;
}
/**
* @return Min threshold value for the metric
*
*/
public Double min() {
return this.min;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ExpectedValueRangeResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Double max;
private Double min;
public Builder() {}
public Builder(ExpectedValueRangeResponse defaults) {
Objects.requireNonNull(defaults);
this.max = defaults.max;
this.min = defaults.min;
}
@CustomType.Setter
public Builder max(Double max) {
if (max == null) {
throw new MissingRequiredPropertyException("ExpectedValueRangeResponse", "max");
}
this.max = max;
return this;
}
@CustomType.Setter
public Builder min(Double min) {
if (min == null) {
throw new MissingRequiredPropertyException("ExpectedValueRangeResponse", "min");
}
this.min = min;
return this;
}
public ExpectedValueRangeResponse build() {
final var _resultValue = new ExpectedValueRangeResponse();
_resultValue.max = max;
_resultValue.min = min;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy