Class GovernanceRuleEmailNotification
java.lang.Object
com.azure.resourcemanager.security.models.GovernanceRuleEmailNotification
The governance email weekly notification configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the disableManagerEmailNotification property: Defines whether manager email notifications are disabled.Get the disableOwnerEmailNotification property: Defines whether owner email notifications are disabled.void
validate()
Validates the instance.withDisableManagerEmailNotification
(Boolean disableManagerEmailNotification) Set the disableManagerEmailNotification property: Defines whether manager email notifications are disabled.withDisableOwnerEmailNotification
(Boolean disableOwnerEmailNotification) Set the disableOwnerEmailNotification property: Defines whether owner email notifications are disabled.
-
Constructor Details
-
GovernanceRuleEmailNotification
public GovernanceRuleEmailNotification()
-
-
Method Details
-
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
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.
-