
com.pulumi.signalfx.outputs.DashboardGroupDashboardVariableOverride 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.signalfx.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class DashboardGroupDashboardVariableOverride {
/**
* @return A metric time series dimension or property name
*
*/
private String property;
/**
* @return List of strings (which will be treated as an OR filter on the property)
*
*/
private @Nullable List values;
/**
* @return A list of strings of suggested values for this variable; these suggestions will receive priority when values are autosuggested for this variable
*
*/
private @Nullable List valuesSuggesteds;
private DashboardGroupDashboardVariableOverride() {}
/**
* @return A metric time series dimension or property name
*
*/
public String property() {
return this.property;
}
/**
* @return List of strings (which will be treated as an OR filter on the property)
*
*/
public List values() {
return this.values == null ? List.of() : this.values;
}
/**
* @return A list of strings of suggested values for this variable; these suggestions will receive priority when values are autosuggested for this variable
*
*/
public List valuesSuggesteds() {
return this.valuesSuggesteds == null ? List.of() : this.valuesSuggesteds;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DashboardGroupDashboardVariableOverride defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String property;
private @Nullable List values;
private @Nullable List valuesSuggesteds;
public Builder() {}
public Builder(DashboardGroupDashboardVariableOverride defaults) {
Objects.requireNonNull(defaults);
this.property = defaults.property;
this.values = defaults.values;
this.valuesSuggesteds = defaults.valuesSuggesteds;
}
@CustomType.Setter
public Builder property(String property) {
if (property == null) {
throw new MissingRequiredPropertyException("DashboardGroupDashboardVariableOverride", "property");
}
this.property = property;
return this;
}
@CustomType.Setter
public Builder values(@Nullable List values) {
this.values = values;
return this;
}
public Builder values(String... values) {
return values(List.of(values));
}
@CustomType.Setter
public Builder valuesSuggesteds(@Nullable List valuesSuggesteds) {
this.valuesSuggesteds = valuesSuggesteds;
return this;
}
public Builder valuesSuggesteds(String... valuesSuggesteds) {
return valuesSuggesteds(List.of(valuesSuggesteds));
}
public DashboardGroupDashboardVariableOverride build() {
final var _resultValue = new DashboardGroupDashboardVariableOverride();
_resultValue.property = property;
_resultValue.values = values;
_resultValue.valuesSuggesteds = valuesSuggesteds;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy