
com.pulumi.azurenative.customerinsights.outputs.KpiExtractResponse 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class KpiExtractResponse {
/**
* @return The expression.
*
*/
private String expression;
/**
* @return KPI extract name.
*
*/
private String extractName;
private KpiExtractResponse() {}
/**
* @return The expression.
*
*/
public String expression() {
return this.expression;
}
/**
* @return KPI extract name.
*
*/
public String extractName() {
return this.extractName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KpiExtractResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String expression;
private String extractName;
public Builder() {}
public Builder(KpiExtractResponse defaults) {
Objects.requireNonNull(defaults);
this.expression = defaults.expression;
this.extractName = defaults.extractName;
}
@CustomType.Setter
public Builder expression(String expression) {
if (expression == null) {
throw new MissingRequiredPropertyException("KpiExtractResponse", "expression");
}
this.expression = expression;
return this;
}
@CustomType.Setter
public Builder extractName(String extractName) {
if (extractName == null) {
throw new MissingRequiredPropertyException("KpiExtractResponse", "extractName");
}
this.extractName = extractName;
return this;
}
public KpiExtractResponse build() {
final var _resultValue = new KpiExtractResponse();
_resultValue.expression = expression;
_resultValue.extractName = extractName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy