
com.pulumi.azurenative.customerinsights.inputs.KpiThresholdsArgs 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.azurenative.customerinsights.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Double;
import java.util.Objects;
/**
* Defines the KPI Threshold limits.
*
*/
public final class KpiThresholdsArgs extends com.pulumi.resources.ResourceArgs {
public static final KpiThresholdsArgs Empty = new KpiThresholdsArgs();
/**
* Whether or not the KPI is an increasing KPI.
*
*/
@Import(name="increasingKpi", required=true)
private Output increasingKpi;
/**
* @return Whether or not the KPI is an increasing KPI.
*
*/
public Output increasingKpi() {
return this.increasingKpi;
}
/**
* The lower threshold limit.
*
*/
@Import(name="lowerLimit", required=true)
private Output lowerLimit;
/**
* @return The lower threshold limit.
*
*/
public Output lowerLimit() {
return this.lowerLimit;
}
/**
* The upper threshold limit.
*
*/
@Import(name="upperLimit", required=true)
private Output upperLimit;
/**
* @return The upper threshold limit.
*
*/
public Output upperLimit() {
return this.upperLimit;
}
private KpiThresholdsArgs() {}
private KpiThresholdsArgs(KpiThresholdsArgs $) {
this.increasingKpi = $.increasingKpi;
this.lowerLimit = $.lowerLimit;
this.upperLimit = $.upperLimit;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KpiThresholdsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private KpiThresholdsArgs $;
public Builder() {
$ = new KpiThresholdsArgs();
}
public Builder(KpiThresholdsArgs defaults) {
$ = new KpiThresholdsArgs(Objects.requireNonNull(defaults));
}
/**
* @param increasingKpi Whether or not the KPI is an increasing KPI.
*
* @return builder
*
*/
public Builder increasingKpi(Output increasingKpi) {
$.increasingKpi = increasingKpi;
return this;
}
/**
* @param increasingKpi Whether or not the KPI is an increasing KPI.
*
* @return builder
*
*/
public Builder increasingKpi(Boolean increasingKpi) {
return increasingKpi(Output.of(increasingKpi));
}
/**
* @param lowerLimit The lower threshold limit.
*
* @return builder
*
*/
public Builder lowerLimit(Output lowerLimit) {
$.lowerLimit = lowerLimit;
return this;
}
/**
* @param lowerLimit The lower threshold limit.
*
* @return builder
*
*/
public Builder lowerLimit(Double lowerLimit) {
return lowerLimit(Output.of(lowerLimit));
}
/**
* @param upperLimit The upper threshold limit.
*
* @return builder
*
*/
public Builder upperLimit(Output upperLimit) {
$.upperLimit = upperLimit;
return this;
}
/**
* @param upperLimit The upper threshold limit.
*
* @return builder
*
*/
public Builder upperLimit(Double upperLimit) {
return upperLimit(Output.of(upperLimit));
}
public KpiThresholdsArgs build() {
if ($.increasingKpi == null) {
throw new MissingRequiredPropertyException("KpiThresholdsArgs", "increasingKpi");
}
if ($.lowerLimit == null) {
throw new MissingRequiredPropertyException("KpiThresholdsArgs", "lowerLimit");
}
if ($.upperLimit == null) {
throw new MissingRequiredPropertyException("KpiThresholdsArgs", "upperLimit");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy