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

com.pulumi.azurenative.security.inputs.GetAlertsSuppressionRulePlainArgs 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.security.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetAlertsSuppressionRulePlainArgs Empty = new GetAlertsSuppressionRulePlainArgs();

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

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

    private GetAlertsSuppressionRulePlainArgs() {}

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

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

    public static final class Builder {
        private GetAlertsSuppressionRulePlainArgs $;

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy