Class SecurityContactPropertiesNotificationsByRole
java.lang.Object
com.azure.resourcemanager.security.models.SecurityContactPropertiesNotificationsByRole
Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on
the subscription.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionroles()
Get the roles property: Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud.state()
Get the state property: Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.void
validate()
Validates the instance.Set the roles property: Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud.Set the state property: Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.
-
Constructor Details
-
SecurityContactPropertiesNotificationsByRole
public SecurityContactPropertiesNotificationsByRole()
-
-
Method Details
-
state
Get the state property: Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.- Returns:
- the state value.
-
withState
Set the state property: Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.- Parameters:
state
- the state value to set.- Returns:
- the SecurityContactPropertiesNotificationsByRole object itself.
-
roles
Get the roles property: Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:.- Returns:
- the roles value.
-
withRoles
Set the roles property: Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:.- Parameters:
roles
- the roles value to set.- Returns:
- the SecurityContactPropertiesNotificationsByRole object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-