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

com.pulumi.azurenative.security.inputs.GetAlertsSuppressionRuleArgs Maven / Gradle / Ivy

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


public final class GetAlertsSuppressionRuleArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetAlertsSuppressionRuleArgs Empty = new GetAlertsSuppressionRuleArgs();

    /**
     * The unique name of the suppression alert rule
     * 
     */
    @Import(name="alertsSuppressionRuleName", required=true)
    private Output alertsSuppressionRuleName;

    /**
     * @return The unique name of the suppression alert rule
     * 
     */
    public Output alertsSuppressionRuleName() {
        return this.alertsSuppressionRuleName;
    }

    private GetAlertsSuppressionRuleArgs() {}

    private GetAlertsSuppressionRuleArgs(GetAlertsSuppressionRuleArgs $) {
        this.alertsSuppressionRuleName = $.alertsSuppressionRuleName;
    }

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

    public static final class Builder {
        private GetAlertsSuppressionRuleArgs $;

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

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

        /**
         * @param alertsSuppressionRuleName The unique name of the suppression alert rule
         * 
         * @return builder
         * 
         */
        public Builder alertsSuppressionRuleName(Output alertsSuppressionRuleName) {
            $.alertsSuppressionRuleName = alertsSuppressionRuleName;
            return this;
        }

        /**
         * @param alertsSuppressionRuleName The unique name of the suppression alert rule
         * 
         * @return builder
         * 
         */
        public Builder alertsSuppressionRuleName(String alertsSuppressionRuleName) {
            return alertsSuppressionRuleName(Output.of(alertsSuppressionRuleName));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy