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

com.pulumi.meraki.networks.inputs.AlertsSettingsState Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki.networks.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.meraki.networks.inputs.AlertsSettingsAlertArgs;
import com.pulumi.meraki.networks.inputs.AlertsSettingsAlertsResponseArgs;
import com.pulumi.meraki.networks.inputs.AlertsSettingsDefaultDestinationsArgs;
import com.pulumi.meraki.networks.inputs.AlertsSettingsMutingArgs;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final AlertsSettingsState Empty = new AlertsSettingsState();

    /**
     * Alert-specific configuration for each type. Only alerts that pertain to the network can be updated.
     * 
     */
    @Import(name="alerts")
    private @Nullable Output> alerts;

    /**
     * @return Alert-specific configuration for each type. Only alerts that pertain to the network can be updated.
     * 
     */
    public Optional>> alerts() {
        return Optional.ofNullable(this.alerts);
    }

    /**
     * Alert-specific configuration for each type. Only alerts that pertain to the network can be updated.
     * 
     */
    @Import(name="alertsResponses")
    private @Nullable Output> alertsResponses;

    /**
     * @return Alert-specific configuration for each type. Only alerts that pertain to the network can be updated.
     * 
     */
    public Optional>> alertsResponses() {
        return Optional.ofNullable(this.alertsResponses);
    }

    /**
     * The network-wide destinations for all alerts on the network.
     * 
     */
    @Import(name="defaultDestinations")
    private @Nullable Output defaultDestinations;

    /**
     * @return The network-wide destinations for all alerts on the network.
     * 
     */
    public Optional> defaultDestinations() {
        return Optional.ofNullable(this.defaultDestinations);
    }

    /**
     * muting
     * 
     */
    @Import(name="muting")
    private @Nullable Output muting;

    /**
     * @return muting
     * 
     */
    public Optional> muting() {
        return Optional.ofNullable(this.muting);
    }

    /**
     * networkId path parameter. Network ID
     * 
     */
    @Import(name="networkId")
    private @Nullable Output networkId;

    /**
     * @return networkId path parameter. Network ID
     * 
     */
    public Optional> networkId() {
        return Optional.ofNullable(this.networkId);
    }

    private AlertsSettingsState() {}

    private AlertsSettingsState(AlertsSettingsState $) {
        this.alerts = $.alerts;
        this.alertsResponses = $.alertsResponses;
        this.defaultDestinations = $.defaultDestinations;
        this.muting = $.muting;
        this.networkId = $.networkId;
    }

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

    public static final class Builder {
        private AlertsSettingsState $;

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

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

        /**
         * @param alerts Alert-specific configuration for each type. Only alerts that pertain to the network can be updated.
         * 
         * @return builder
         * 
         */
        public Builder alerts(@Nullable Output> alerts) {
            $.alerts = alerts;
            return this;
        }

        /**
         * @param alerts Alert-specific configuration for each type. Only alerts that pertain to the network can be updated.
         * 
         * @return builder
         * 
         */
        public Builder alerts(List alerts) {
            return alerts(Output.of(alerts));
        }

        /**
         * @param alerts Alert-specific configuration for each type. Only alerts that pertain to the network can be updated.
         * 
         * @return builder
         * 
         */
        public Builder alerts(AlertsSettingsAlertArgs... alerts) {
            return alerts(List.of(alerts));
        }

        /**
         * @param alertsResponses Alert-specific configuration for each type. Only alerts that pertain to the network can be updated.
         * 
         * @return builder
         * 
         */
        public Builder alertsResponses(@Nullable Output> alertsResponses) {
            $.alertsResponses = alertsResponses;
            return this;
        }

        /**
         * @param alertsResponses Alert-specific configuration for each type. Only alerts that pertain to the network can be updated.
         * 
         * @return builder
         * 
         */
        public Builder alertsResponses(List alertsResponses) {
            return alertsResponses(Output.of(alertsResponses));
        }

        /**
         * @param alertsResponses Alert-specific configuration for each type. Only alerts that pertain to the network can be updated.
         * 
         * @return builder
         * 
         */
        public Builder alertsResponses(AlertsSettingsAlertsResponseArgs... alertsResponses) {
            return alertsResponses(List.of(alertsResponses));
        }

        /**
         * @param defaultDestinations The network-wide destinations for all alerts on the network.
         * 
         * @return builder
         * 
         */
        public Builder defaultDestinations(@Nullable Output defaultDestinations) {
            $.defaultDestinations = defaultDestinations;
            return this;
        }

        /**
         * @param defaultDestinations The network-wide destinations for all alerts on the network.
         * 
         * @return builder
         * 
         */
        public Builder defaultDestinations(AlertsSettingsDefaultDestinationsArgs defaultDestinations) {
            return defaultDestinations(Output.of(defaultDestinations));
        }

        /**
         * @param muting muting
         * 
         * @return builder
         * 
         */
        public Builder muting(@Nullable Output muting) {
            $.muting = muting;
            return this;
        }

        /**
         * @param muting muting
         * 
         * @return builder
         * 
         */
        public Builder muting(AlertsSettingsMutingArgs muting) {
            return muting(Output.of(muting));
        }

        /**
         * @param networkId networkId path parameter. Network ID
         * 
         * @return builder
         * 
         */
        public Builder networkId(@Nullable Output networkId) {
            $.networkId = networkId;
            return this;
        }

        /**
         * @param networkId networkId path parameter. Network ID
         * 
         * @return builder
         * 
         */
        public Builder networkId(String networkId) {
            return networkId(Output.of(networkId));
        }

        public AlertsSettingsState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy