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