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

com.pulumi.azurenative.workloads.SapLandscapeMonitorArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.azurenative.workloads;

import com.pulumi.azurenative.workloads.inputs.SapLandscapeMonitorMetricThresholdsArgs;
import com.pulumi.azurenative.workloads.inputs.SapLandscapeMonitorPropertiesGroupingArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final SapLandscapeMonitorArgs Empty = new SapLandscapeMonitorArgs();

    /**
     * Gets or sets the SID groupings by landscape and Environment.
     * 
     */
    @Import(name="grouping")
    private @Nullable Output grouping;

    /**
     * @return Gets or sets the SID groupings by landscape and Environment.
     * 
     */
    public Optional> grouping() {
        return Optional.ofNullable(this.grouping);
    }

    /**
     * Name of the SAP monitor resource.
     * 
     */
    @Import(name="monitorName", required=true)
    private Output monitorName;

    /**
     * @return Name of the SAP monitor resource.
     * 
     */
    public Output monitorName() {
        return this.monitorName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard
     * 
     */
    @Import(name="topMetricsThresholds")
    private @Nullable Output> topMetricsThresholds;

    /**
     * @return Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard
     * 
     */
    public Optional>> topMetricsThresholds() {
        return Optional.ofNullable(this.topMetricsThresholds);
    }

    private SapLandscapeMonitorArgs() {}

    private SapLandscapeMonitorArgs(SapLandscapeMonitorArgs $) {
        this.grouping = $.grouping;
        this.monitorName = $.monitorName;
        this.resourceGroupName = $.resourceGroupName;
        this.topMetricsThresholds = $.topMetricsThresholds;
    }

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

    public static final class Builder {
        private SapLandscapeMonitorArgs $;

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

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

        /**
         * @param grouping Gets or sets the SID groupings by landscape and Environment.
         * 
         * @return builder
         * 
         */
        public Builder grouping(@Nullable Output grouping) {
            $.grouping = grouping;
            return this;
        }

        /**
         * @param grouping Gets or sets the SID groupings by landscape and Environment.
         * 
         * @return builder
         * 
         */
        public Builder grouping(SapLandscapeMonitorPropertiesGroupingArgs grouping) {
            return grouping(Output.of(grouping));
        }

        /**
         * @param monitorName Name of the SAP monitor resource.
         * 
         * @return builder
         * 
         */
        public Builder monitorName(Output monitorName) {
            $.monitorName = monitorName;
            return this;
        }

        /**
         * @param monitorName Name of the SAP monitor resource.
         * 
         * @return builder
         * 
         */
        public Builder monitorName(String monitorName) {
            return monitorName(Output.of(monitorName));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param topMetricsThresholds Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard
         * 
         * @return builder
         * 
         */
        public Builder topMetricsThresholds(@Nullable Output> topMetricsThresholds) {
            $.topMetricsThresholds = topMetricsThresholds;
            return this;
        }

        /**
         * @param topMetricsThresholds Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard
         * 
         * @return builder
         * 
         */
        public Builder topMetricsThresholds(List topMetricsThresholds) {
            return topMetricsThresholds(Output.of(topMetricsThresholds));
        }

        /**
         * @param topMetricsThresholds Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard
         * 
         * @return builder
         * 
         */
        public Builder topMetricsThresholds(SapLandscapeMonitorMetricThresholdsArgs... topMetricsThresholds) {
            return topMetricsThresholds(List.of(topMetricsThresholds));
        }

        public SapLandscapeMonitorArgs build() {
            if ($.monitorName == null) {
                throw new MissingRequiredPropertyException("SapLandscapeMonitorArgs", "monitorName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("SapLandscapeMonitorArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy