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

com.pulumi.azure.pim.inputs.RoleManagementPolicyNotificationRulesEligibleActivationsAssigneeNotificationsArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.pim.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final RoleManagementPolicyNotificationRulesEligibleActivationsAssigneeNotificationsArgs Empty = new RoleManagementPolicyNotificationRulesEligibleActivationsAssigneeNotificationsArgs();

    /**
     * The additional recipients to notify
     * 
     */
    @Import(name="additionalRecipients")
    private @Nullable Output> additionalRecipients;

    /**
     * @return The additional recipients to notify
     * 
     */
    public Optional>> additionalRecipients() {
        return Optional.ofNullable(this.additionalRecipients);
    }

    /**
     * Whether the default recipients are notified
     * 
     */
    @Import(name="defaultRecipients", required=true)
    private Output defaultRecipients;

    /**
     * @return Whether the default recipients are notified
     * 
     */
    public Output defaultRecipients() {
        return this.defaultRecipients;
    }

    /**
     * What level of notifications are sent
     * 
     */
    @Import(name="notificationLevel", required=true)
    private Output notificationLevel;

    /**
     * @return What level of notifications are sent
     * 
     */
    public Output notificationLevel() {
        return this.notificationLevel;
    }

    private RoleManagementPolicyNotificationRulesEligibleActivationsAssigneeNotificationsArgs() {}

    private RoleManagementPolicyNotificationRulesEligibleActivationsAssigneeNotificationsArgs(RoleManagementPolicyNotificationRulesEligibleActivationsAssigneeNotificationsArgs $) {
        this.additionalRecipients = $.additionalRecipients;
        this.defaultRecipients = $.defaultRecipients;
        this.notificationLevel = $.notificationLevel;
    }

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

    public static final class Builder {
        private RoleManagementPolicyNotificationRulesEligibleActivationsAssigneeNotificationsArgs $;

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

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

        /**
         * @param additionalRecipients The additional recipients to notify
         * 
         * @return builder
         * 
         */
        public Builder additionalRecipients(@Nullable Output> additionalRecipients) {
            $.additionalRecipients = additionalRecipients;
            return this;
        }

        /**
         * @param additionalRecipients The additional recipients to notify
         * 
         * @return builder
         * 
         */
        public Builder additionalRecipients(List additionalRecipients) {
            return additionalRecipients(Output.of(additionalRecipients));
        }

        /**
         * @param additionalRecipients The additional recipients to notify
         * 
         * @return builder
         * 
         */
        public Builder additionalRecipients(String... additionalRecipients) {
            return additionalRecipients(List.of(additionalRecipients));
        }

        /**
         * @param defaultRecipients Whether the default recipients are notified
         * 
         * @return builder
         * 
         */
        public Builder defaultRecipients(Output defaultRecipients) {
            $.defaultRecipients = defaultRecipients;
            return this;
        }

        /**
         * @param defaultRecipients Whether the default recipients are notified
         * 
         * @return builder
         * 
         */
        public Builder defaultRecipients(Boolean defaultRecipients) {
            return defaultRecipients(Output.of(defaultRecipients));
        }

        /**
         * @param notificationLevel What level of notifications are sent
         * 
         * @return builder
         * 
         */
        public Builder notificationLevel(Output notificationLevel) {
            $.notificationLevel = notificationLevel;
            return this;
        }

        /**
         * @param notificationLevel What level of notifications are sent
         * 
         * @return builder
         * 
         */
        public Builder notificationLevel(String notificationLevel) {
            return notificationLevel(Output.of(notificationLevel));
        }

        public RoleManagementPolicyNotificationRulesEligibleActivationsAssigneeNotificationsArgs build() {
            if ($.defaultRecipients == null) {
                throw new MissingRequiredPropertyException("RoleManagementPolicyNotificationRulesEligibleActivationsAssigneeNotificationsArgs", "defaultRecipients");
            }
            if ($.notificationLevel == null) {
                throw new MissingRequiredPropertyException("RoleManagementPolicyNotificationRulesEligibleActivationsAssigneeNotificationsArgs", "notificationLevel");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy