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

com.pulumi.azurenative.workloads.inputs.SapLandscapeMonitorMetricThresholdsArgs 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.azurenative.workloads.inputs;

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


/**
 * Gets or sets the Threshold Values for Top Metrics Health.
 * 
 */
public final class SapLandscapeMonitorMetricThresholdsArgs extends com.pulumi.resources.ResourceArgs {

    public static final SapLandscapeMonitorMetricThresholdsArgs Empty = new SapLandscapeMonitorMetricThresholdsArgs();

    /**
     * Gets or sets the threshold value for Green.
     * 
     */
    @Import(name="green")
    private @Nullable Output green;

    /**
     * @return Gets or sets the threshold value for Green.
     * 
     */
    public Optional> green() {
        return Optional.ofNullable(this.green);
    }

    /**
     * Gets or sets the name of the threshold.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Gets or sets the name of the threshold.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Gets or sets the threshold value for Red.
     * 
     */
    @Import(name="red")
    private @Nullable Output red;

    /**
     * @return Gets or sets the threshold value for Red.
     * 
     */
    public Optional> red() {
        return Optional.ofNullable(this.red);
    }

    /**
     * Gets or sets the threshold value for Yellow.
     * 
     */
    @Import(name="yellow")
    private @Nullable Output yellow;

    /**
     * @return Gets or sets the threshold value for Yellow.
     * 
     */
    public Optional> yellow() {
        return Optional.ofNullable(this.yellow);
    }

    private SapLandscapeMonitorMetricThresholdsArgs() {}

    private SapLandscapeMonitorMetricThresholdsArgs(SapLandscapeMonitorMetricThresholdsArgs $) {
        this.green = $.green;
        this.name = $.name;
        this.red = $.red;
        this.yellow = $.yellow;
    }

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

    public static final class Builder {
        private SapLandscapeMonitorMetricThresholdsArgs $;

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

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

        /**
         * @param green Gets or sets the threshold value for Green.
         * 
         * @return builder
         * 
         */
        public Builder green(@Nullable Output green) {
            $.green = green;
            return this;
        }

        /**
         * @param green Gets or sets the threshold value for Green.
         * 
         * @return builder
         * 
         */
        public Builder green(Double green) {
            return green(Output.of(green));
        }

        /**
         * @param name Gets or sets the name of the threshold.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Gets or sets the name of the threshold.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param red Gets or sets the threshold value for Red.
         * 
         * @return builder
         * 
         */
        public Builder red(@Nullable Output red) {
            $.red = red;
            return this;
        }

        /**
         * @param red Gets or sets the threshold value for Red.
         * 
         * @return builder
         * 
         */
        public Builder red(Double red) {
            return red(Output.of(red));
        }

        /**
         * @param yellow Gets or sets the threshold value for Yellow.
         * 
         * @return builder
         * 
         */
        public Builder yellow(@Nullable Output yellow) {
            $.yellow = yellow;
            return this;
        }

        /**
         * @param yellow Gets or sets the threshold value for Yellow.
         * 
         * @return builder
         * 
         */
        public Builder yellow(Double yellow) {
            return yellow(Output.of(yellow));
        }

        public SapLandscapeMonitorMetricThresholdsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy