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

com.pulumi.signalfx.inputs.ListChartLegendOptionsFieldArgs 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.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ListChartLegendOptionsFieldArgs Empty = new ListChartLegendOptionsFieldArgs();

    /**
     * True or False depending on if you want the property to be shown or hidden.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return True or False depending on if you want the property to be shown or hidden.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * The name of the property to display. Note the special values of `sf_metric` (corresponding with the API's `Plot Name`) which shows the label of the time series `publish()` and `sf_originatingMetric` (corresponding with the API's `metric (sf metric)`) that shows the [name of the metric](https://dev.splunk.com/observability/docs/signalflow/functions/data_function/) for the time series being displayed.
     * 
     */
    @Import(name="property", required=true)
    private Output property;

    /**
     * @return The name of the property to display. Note the special values of `sf_metric` (corresponding with the API's `Plot Name`) which shows the label of the time series `publish()` and `sf_originatingMetric` (corresponding with the API's `metric (sf metric)`) that shows the [name of the metric](https://dev.splunk.com/observability/docs/signalflow/functions/data_function/) for the time series being displayed.
     * 
     */
    public Output property() {
        return this.property;
    }

    private ListChartLegendOptionsFieldArgs() {}

    private ListChartLegendOptionsFieldArgs(ListChartLegendOptionsFieldArgs $) {
        this.enabled = $.enabled;
        this.property = $.property;
    }

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

    public static final class Builder {
        private ListChartLegendOptionsFieldArgs $;

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

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

        /**
         * @param enabled True or False depending on if you want the property to be shown or hidden.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled True or False depending on if you want the property to be shown or hidden.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param property The name of the property to display. Note the special values of `sf_metric` (corresponding with the API's `Plot Name`) which shows the label of the time series `publish()` and `sf_originatingMetric` (corresponding with the API's `metric (sf metric)`) that shows the [name of the metric](https://dev.splunk.com/observability/docs/signalflow/functions/data_function/) for the time series being displayed.
         * 
         * @return builder
         * 
         */
        public Builder property(Output property) {
            $.property = property;
            return this;
        }

        /**
         * @param property The name of the property to display. Note the special values of `sf_metric` (corresponding with the API's `Plot Name`) which shows the label of the time series `publish()` and `sf_originatingMetric` (corresponding with the API's `metric (sf metric)`) that shows the [name of the metric](https://dev.splunk.com/observability/docs/signalflow/functions/data_function/) for the time series being displayed.
         * 
         * @return builder
         * 
         */
        public Builder property(String property) {
            return property(Output.of(property));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy