Class GovernanceRuleEmailNotification

java.lang.Object
com.azure.resourcemanager.security.models.GovernanceRuleEmailNotification

public final class GovernanceRuleEmailNotification extends Object
The governance email weekly notification configuration.
  • Constructor Details

    • GovernanceRuleEmailNotification

      public GovernanceRuleEmailNotification()
  • Method Details

    • disableManagerEmailNotification

      public Boolean disableManagerEmailNotification()
      Get the disableManagerEmailNotification property: Defines whether manager email notifications are disabled.
      Returns:
      the disableManagerEmailNotification value.
    • withDisableManagerEmailNotification

      public GovernanceRuleEmailNotification withDisableManagerEmailNotification(Boolean disableManagerEmailNotification)
      Set the disableManagerEmailNotification property: Defines whether manager email notifications are disabled.
      Parameters:
      disableManagerEmailNotification - the disableManagerEmailNotification value to set.
      Returns:
      the GovernanceRuleEmailNotification object itself.
    • disableOwnerEmailNotification

      public Boolean disableOwnerEmailNotification()
      Get the disableOwnerEmailNotification property: Defines whether owner email notifications are disabled.
      Returns:
      the disableOwnerEmailNotification value.
    • withDisableOwnerEmailNotification

      public GovernanceRuleEmailNotification withDisableOwnerEmailNotification(Boolean disableOwnerEmailNotification)
      Set the disableOwnerEmailNotification property: Defines whether owner email notifications are disabled.
      Parameters:
      disableOwnerEmailNotification - the disableOwnerEmailNotification value to set.
      Returns:
      the GovernanceRuleEmailNotification object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.