com.pulumi.googlenative.dialogflow.v3.outputs.GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponse 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.dialogflow.v3.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.util.Objects;
@CustomType
public final class GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponse {
/**
* @return The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval.
*
*/
private Double confidenceLevel;
/**
* @return Lower bound of the interval.
*
*/
private Double lowerBound;
/**
* @return The percent change between an experiment metric's value and the value for its control.
*
*/
private Double ratio;
/**
* @return Upper bound of the interval.
*
*/
private Double upperBound;
private GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponse() {}
/**
* @return The confidence level used to construct the interval, i.e. there is X% chance that the true value is within this interval.
*
*/
public Double confidenceLevel() {
return this.confidenceLevel;
}
/**
* @return Lower bound of the interval.
*
*/
public Double lowerBound() {
return this.lowerBound;
}
/**
* @return The percent change between an experiment metric's value and the value for its control.
*
*/
public Double ratio() {
return this.ratio;
}
/**
* @return Upper bound of the interval.
*
*/
public Double upperBound() {
return this.upperBound;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Double confidenceLevel;
private Double lowerBound;
private Double ratio;
private Double upperBound;
public Builder() {}
public Builder(GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponse defaults) {
Objects.requireNonNull(defaults);
this.confidenceLevel = defaults.confidenceLevel;
this.lowerBound = defaults.lowerBound;
this.ratio = defaults.ratio;
this.upperBound = defaults.upperBound;
}
@CustomType.Setter
public Builder confidenceLevel(Double confidenceLevel) {
this.confidenceLevel = Objects.requireNonNull(confidenceLevel);
return this;
}
@CustomType.Setter
public Builder lowerBound(Double lowerBound) {
this.lowerBound = Objects.requireNonNull(lowerBound);
return this;
}
@CustomType.Setter
public Builder ratio(Double ratio) {
this.ratio = Objects.requireNonNull(ratio);
return this;
}
@CustomType.Setter
public Builder upperBound(Double upperBound) {
this.upperBound = Objects.requireNonNull(upperBound);
return this;
}
public GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponse build() {
final var o = new GoogleCloudDialogflowCxV3ExperimentResultConfidenceIntervalResponse();
o.confidenceLevel = confidenceLevel;
o.lowerBound = lowerBound;
o.ratio = ratio;
o.upperBound = upperBound;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy