com.pulumi.googlenative.monitoring.v1.outputs.TimeSeriesTableResponse 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.monitoring.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.googlenative.monitoring.v1.outputs.ColumnSettingsResponse;
import com.pulumi.googlenative.monitoring.v1.outputs.TableDataSetResponse;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class TimeSeriesTableResponse {
/**
* @return Optional. The list of the persistent column settings for the table.
*
*/
private List columnSettings;
/**
* @return The data displayed in this table.
*
*/
private List dataSets;
/**
* @return Optional. Store rendering strategy
*
*/
private String metricVisualization;
private TimeSeriesTableResponse() {}
/**
* @return Optional. The list of the persistent column settings for the table.
*
*/
public List columnSettings() {
return this.columnSettings;
}
/**
* @return The data displayed in this table.
*
*/
public List dataSets() {
return this.dataSets;
}
/**
* @return Optional. Store rendering strategy
*
*/
public String metricVisualization() {
return this.metricVisualization;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TimeSeriesTableResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List columnSettings;
private List dataSets;
private String metricVisualization;
public Builder() {}
public Builder(TimeSeriesTableResponse defaults) {
Objects.requireNonNull(defaults);
this.columnSettings = defaults.columnSettings;
this.dataSets = defaults.dataSets;
this.metricVisualization = defaults.metricVisualization;
}
@CustomType.Setter
public Builder columnSettings(List columnSettings) {
this.columnSettings = Objects.requireNonNull(columnSettings);
return this;
}
public Builder columnSettings(ColumnSettingsResponse... columnSettings) {
return columnSettings(List.of(columnSettings));
}
@CustomType.Setter
public Builder dataSets(List dataSets) {
this.dataSets = Objects.requireNonNull(dataSets);
return this;
}
public Builder dataSets(TableDataSetResponse... dataSets) {
return dataSets(List.of(dataSets));
}
@CustomType.Setter
public Builder metricVisualization(String metricVisualization) {
this.metricVisualization = Objects.requireNonNull(metricVisualization);
return this;
}
public TimeSeriesTableResponse build() {
final var o = new TimeSeriesTableResponse();
o.columnSettings = columnSettings;
o.dataSets = dataSets;
o.metricVisualization = metricVisualization;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy