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

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

@CustomType
public final class GetRoleManagementPolicyNotificationRuleEligibleAssignmentAssigneeNotification {
    /**
     * @return A list of additional email addresses that will receive these notifications.
     * 
     */
    private List additionalRecipients;
    /**
     * @return (Boolean) Should the default recipients receive these notifications.
     * 
     */
    private Boolean defaultRecipients;
    /**
     * @return (String) What level of notifications should be sent. Either `All` or `Critical`.
     * 
     */
    private String notificationLevel;

    private GetRoleManagementPolicyNotificationRuleEligibleAssignmentAssigneeNotification() {}
    /**
     * @return A list of additional email addresses that will receive these notifications.
     * 
     */
    public List additionalRecipients() {
        return this.additionalRecipients;
    }
    /**
     * @return (Boolean) Should the default recipients receive these notifications.
     * 
     */
    public Boolean defaultRecipients() {
        return this.defaultRecipients;
    }
    /**
     * @return (String) What level of notifications should be sent. Either `All` or `Critical`.
     * 
     */
    public String notificationLevel() {
        return this.notificationLevel;
    }

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

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

        @CustomType.Setter
        public Builder additionalRecipients(List additionalRecipients) {
            if (additionalRecipients == null) {
              throw new MissingRequiredPropertyException("GetRoleManagementPolicyNotificationRuleEligibleAssignmentAssigneeNotification", "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("GetRoleManagementPolicyNotificationRuleEligibleAssignmentAssigneeNotification", "defaultRecipients");
            }
            this.defaultRecipients = defaultRecipients;
            return this;
        }
        @CustomType.Setter
        public Builder notificationLevel(String notificationLevel) {
            if (notificationLevel == null) {
              throw new MissingRequiredPropertyException("GetRoleManagementPolicyNotificationRuleEligibleAssignmentAssigneeNotification", "notificationLevel");
            }
            this.notificationLevel = notificationLevel;
            return this;
        }
        public GetRoleManagementPolicyNotificationRuleEligibleAssignmentAssigneeNotification build() {
            final var _resultValue = new GetRoleManagementPolicyNotificationRuleEligibleAssignmentAssigneeNotification();
            _resultValue.additionalRecipients = additionalRecipients;
            _resultValue.defaultRecipients = defaultRecipients;
            _resultValue.notificationLevel = notificationLevel;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy