All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.signalfx.inputs.TimeChartVizOptionArgs Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
// *** 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class TimeChartVizOptionArgs extends com.pulumi.resources.ResourceArgs {

    public static final TimeChartVizOptionArgs Empty = new TimeChartVizOptionArgs();

    /**
     * Y-axis associated with values for this plot. Must be either `right` or `left`.
     * 
     */
    @Import(name="axis")
    private @Nullable Output axis;

    /**
     * @return Y-axis associated with values for this plot. Must be either `right` or `left`.
     * 
     */
    public Optional> axis() {
        return Optional.ofNullable(this.axis);
    }

    /**
     * Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.
     * 
     */
    @Import(name="color")
    private @Nullable Output color;

    /**
     * @return Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.
     * 
     */
    public Optional> color() {
        return Optional.ofNullable(this.color);
    }

    /**
     * Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * Label used in the publish statement that displays the plot (metric time series data) you want to customize.
     * 
     */
    @Import(name="label", required=true)
    private Output label;

    /**
     * @return Label used in the publish statement that displays the plot (metric time series data) you want to customize.
     * 
     */
    public Output label() {
        return this.label;
    }

    /**
     * The visualization style to use. Must be `"LineChart"`, `"AreaChart"`, `"ColumnChart"`, or `"Histogram"`. Chart level `plot_type` by default.
     * 
     */
    @Import(name="plotType")
    private @Nullable Output plotType;

    /**
     * @return The visualization style to use. Must be `"LineChart"`, `"AreaChart"`, `"ColumnChart"`, or `"Histogram"`. Chart level `plot_type` by default.
     * 
     */
    public Optional> plotType() {
        return Optional.ofNullable(this.plotType);
    }

    /**
     * , `value_suffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
     * 
     */
    @Import(name="valuePrefix")
    private @Nullable Output valuePrefix;

    /**
     * @return , `value_suffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
     * 
     */
    public Optional> valuePrefix() {
        return Optional.ofNullable(this.valuePrefix);
    }

    /**
     * An arbitrary suffix to display with the value of this plot
     * 
     */
    @Import(name="valueSuffix")
    private @Nullable Output valueSuffix;

    /**
     * @return An arbitrary suffix to display with the value of this plot
     * 
     */
    public Optional> valueSuffix() {
        return Optional.ofNullable(this.valueSuffix);
    }

    /**
     * A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are `Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gibibyte (note: this was previously typoed as Gigibyte), Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week`.
     * 
     */
    @Import(name="valueUnit")
    private @Nullable Output valueUnit;

    /**
     * @return A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are `Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gibibyte (note: this was previously typoed as Gigibyte), Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week`.
     * 
     */
    public Optional> valueUnit() {
        return Optional.ofNullable(this.valueUnit);
    }

    private TimeChartVizOptionArgs() {}

    private TimeChartVizOptionArgs(TimeChartVizOptionArgs $) {
        this.axis = $.axis;
        this.color = $.color;
        this.displayName = $.displayName;
        this.label = $.label;
        this.plotType = $.plotType;
        this.valuePrefix = $.valuePrefix;
        this.valueSuffix = $.valueSuffix;
        this.valueUnit = $.valueUnit;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(TimeChartVizOptionArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private TimeChartVizOptionArgs $;

        public Builder() {
            $ = new TimeChartVizOptionArgs();
        }

        public Builder(TimeChartVizOptionArgs defaults) {
            $ = new TimeChartVizOptionArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param axis Y-axis associated with values for this plot. Must be either `right` or `left`.
         * 
         * @return builder
         * 
         */
        public Builder axis(@Nullable Output axis) {
            $.axis = axis;
            return this;
        }

        /**
         * @param axis Y-axis associated with values for this plot. Must be either `right` or `left`.
         * 
         * @return builder
         * 
         */
        public Builder axis(String axis) {
            return axis(Output.of(axis));
        }

        /**
         * @param color Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.
         * 
         * @return builder
         * 
         */
        public Builder color(@Nullable Output color) {
            $.color = color;
            return this;
        }

        /**
         * @param color Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.
         * 
         * @return builder
         * 
         */
        public Builder color(String color) {
            return color(Output.of(color));
        }

        /**
         * @param displayName Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param label Label used in the publish statement that displays the plot (metric time series data) you want to customize.
         * 
         * @return builder
         * 
         */
        public Builder label(Output label) {
            $.label = label;
            return this;
        }

        /**
         * @param label Label used in the publish statement that displays the plot (metric time series data) you want to customize.
         * 
         * @return builder
         * 
         */
        public Builder label(String label) {
            return label(Output.of(label));
        }

        /**
         * @param plotType The visualization style to use. Must be `"LineChart"`, `"AreaChart"`, `"ColumnChart"`, or `"Histogram"`. Chart level `plot_type` by default.
         * 
         * @return builder
         * 
         */
        public Builder plotType(@Nullable Output plotType) {
            $.plotType = plotType;
            return this;
        }

        /**
         * @param plotType The visualization style to use. Must be `"LineChart"`, `"AreaChart"`, `"ColumnChart"`, or `"Histogram"`. Chart level `plot_type` by default.
         * 
         * @return builder
         * 
         */
        public Builder plotType(String plotType) {
            return plotType(Output.of(plotType));
        }

        /**
         * @param valuePrefix , `value_suffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
         * 
         * @return builder
         * 
         */
        public Builder valuePrefix(@Nullable Output valuePrefix) {
            $.valuePrefix = valuePrefix;
            return this;
        }

        /**
         * @param valuePrefix , `value_suffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
         * 
         * @return builder
         * 
         */
        public Builder valuePrefix(String valuePrefix) {
            return valuePrefix(Output.of(valuePrefix));
        }

        /**
         * @param valueSuffix An arbitrary suffix to display with the value of this plot
         * 
         * @return builder
         * 
         */
        public Builder valueSuffix(@Nullable Output valueSuffix) {
            $.valueSuffix = valueSuffix;
            return this;
        }

        /**
         * @param valueSuffix An arbitrary suffix to display with the value of this plot
         * 
         * @return builder
         * 
         */
        public Builder valueSuffix(String valueSuffix) {
            return valueSuffix(Output.of(valueSuffix));
        }

        /**
         * @param valueUnit A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are `Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gibibyte (note: this was previously typoed as Gigibyte), Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week`.
         * 
         * @return builder
         * 
         */
        public Builder valueUnit(@Nullable Output valueUnit) {
            $.valueUnit = valueUnit;
            return this;
        }

        /**
         * @param valueUnit A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are `Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gibibyte (note: this was previously typoed as Gigibyte), Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week`.
         * 
         * @return builder
         * 
         */
        public Builder valueUnit(String valueUnit) {
            return valueUnit(Output.of(valueUnit));
        }

        public TimeChartVizOptionArgs build() {
            if ($.label == null) {
                throw new MissingRequiredPropertyException("TimeChartVizOptionArgs", "label");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy