GovernanceRuleEmailNotification Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. GovernanceRuleEmailNotification
- com.
Implements
public final class GovernanceRuleEmailNotification
implements JsonSerializable<GovernanceRuleEmailNotification>
The governance email weekly notification configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| GovernanceRuleEmailNotification() |
Creates an instance of Governance |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
disableManagerEmailNotification()
Get the disable |
| Boolean |
disableOwnerEmailNotification()
Get the disable |
|
static
Governance |
fromJson(JsonReader jsonReader)
Reads an instance of Governance |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Governance |
withDisableManagerEmailNotification(Boolean disableManagerEmailNotification)
Set the disable |
|
Governance |
withDisableOwnerEmailNotification(Boolean disableOwnerEmailNotification)
Set the disable |
Methods inherited from java.lang.Object
Constructor Details
GovernanceRuleEmailNotification
public GovernanceRuleEmailNotification()
Creates an instance of GovernanceRuleEmailNotification class.
Method Details
disableManagerEmailNotification
public Boolean disableManagerEmailNotification()
Get the disableManagerEmailNotification property: Defines whether manager email notifications are disabled.
Returns:
disableOwnerEmailNotification
public Boolean disableOwnerEmailNotification()
Get the disableOwnerEmailNotification property: Defines whether owner email notifications are disabled.
Returns:
fromJson
public static GovernanceRuleEmailNotification fromJson(JsonReader jsonReader)
Reads an instance of GovernanceRuleEmailNotification from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withDisableManagerEmailNotification
public GovernanceRuleEmailNotification withDisableManagerEmailNotification(Boolean disableManagerEmailNotification)
Set the disableManagerEmailNotification property: Defines whether manager email notifications are disabled.
Parameters:
Returns:
withDisableOwnerEmailNotification
public GovernanceRuleEmailNotification withDisableOwnerEmailNotification(Boolean disableOwnerEmailNotification)
Set the disableOwnerEmailNotification property: Defines whether owner email notifications are disabled.
Parameters:
Returns: