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

com.pulumi.signalfx.outputs.TimeChartAxisRightWatermark Maven / Gradle / Ivy

There is a newer version: 7.5.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.outputs;

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

@CustomType
public final class TimeChartAxisRightWatermark {
    /**
     * @return Label to display associated with the watermark line
     * 
     */
    private @Nullable String label;
    /**
     * @return Axis value where the watermark line will be displayed
     * 
     */
    private Double value;

    private TimeChartAxisRightWatermark() {}
    /**
     * @return Label to display associated with the watermark line
     * 
     */
    public Optional label() {
        return Optional.ofNullable(this.label);
    }
    /**
     * @return Axis value where the watermark line will be displayed
     * 
     */
    public Double value() {
        return this.value;
    }

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

    public static Builder builder(TimeChartAxisRightWatermark defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String label;
        private Double value;
        public Builder() {}
        public Builder(TimeChartAxisRightWatermark defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.label = defaults.label;
    	      this.value = defaults.value;
        }

        @CustomType.Setter
        public Builder label(@Nullable String label) {

            this.label = label;
            return this;
        }
        @CustomType.Setter
        public Builder value(Double value) {
            if (value == null) {
              throw new MissingRequiredPropertyException("TimeChartAxisRightWatermark", "value");
            }
            this.value = value;
            return this;
        }
        public TimeChartAxisRightWatermark build() {
            final var _resultValue = new TimeChartAxisRightWatermark();
            _resultValue.label = label;
            _resultValue.value = value;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy