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

com.pulumi.azure.pim.outputs.RoleManagementPolicyNotificationRulesActiveAssignmentsAssigneeNotifications 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.outputs;

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

@CustomType
public final class RoleManagementPolicyNotificationRulesActiveAssignmentsAssigneeNotifications {
    /**
     * @return The additional recipients to notify
     * 
     */
    private @Nullable List additionalRecipients;
    /**
     * @return Whether the default recipients are notified
     * 
     */
    private Boolean defaultRecipients;
    /**
     * @return What level of notifications are sent
     * 
     */
    private String notificationLevel;

    private RoleManagementPolicyNotificationRulesActiveAssignmentsAssigneeNotifications() {}
    /**
     * @return The additional recipients to notify
     * 
     */
    public List additionalRecipients() {
        return this.additionalRecipients == null ? List.of() : this.additionalRecipients;
    }
    /**
     * @return Whether the default recipients are notified
     * 
     */
    public Boolean defaultRecipients() {
        return this.defaultRecipients;
    }
    /**
     * @return What level of notifications are sent
     * 
     */
    public String notificationLevel() {
        return this.notificationLevel;
    }

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

    public static Builder builder(RoleManagementPolicyNotificationRulesActiveAssignmentsAssigneeNotifications defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List additionalRecipients;
        private Boolean defaultRecipients;
        private String notificationLevel;
        public Builder() {}
        public Builder(RoleManagementPolicyNotificationRulesActiveAssignmentsAssigneeNotifications defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.additionalRecipients = defaults.additionalRecipients;
    	      this.defaultRecipients = defaults.defaultRecipients;
    	      this.notificationLevel = defaults.notificationLevel;
        }

        @CustomType.Setter
        public Builder additionalRecipients(@Nullable List additionalRecipients) {

            this.additionalRecipients = additionalRecipients;
            return this;
        }
        public Builder additionalRecipients(String... additionalRecipients) {
            return additionalRecipients(List.of(additionalRecipients));
        }
        @CustomType.Setter
        public Builder defaultRecipients(Boolean defaultRecipients) {
            if (defaultRecipients == null) {
              throw new MissingRequiredPropertyException("RoleManagementPolicyNotificationRulesActiveAssignmentsAssigneeNotifications", "defaultRecipients");
            }
            this.defaultRecipients = defaultRecipients;
            return this;
        }
        @CustomType.Setter
        public Builder notificationLevel(String notificationLevel) {
            if (notificationLevel == null) {
              throw new MissingRequiredPropertyException("RoleManagementPolicyNotificationRulesActiveAssignmentsAssigneeNotifications", "notificationLevel");
            }
            this.notificationLevel = notificationLevel;
            return this;
        }
        public RoleManagementPolicyNotificationRulesActiveAssignmentsAssigneeNotifications build() {
            final var _resultValue = new RoleManagementPolicyNotificationRulesActiveAssignmentsAssigneeNotifications();
            _resultValue.additionalRecipients = additionalRecipients;
            _resultValue.defaultRecipients = defaultRecipients;
            _resultValue.notificationLevel = notificationLevel;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy