Class ActivityLogAlertPatchBody
- java.lang.Object
-
- com.microsoft.azure.management.monitor.ActivityLogAlertPatchBody
-
public class ActivityLogAlertPatchBody extends Object
An activity log alert object for the body of patch operations.
-
-
Constructor Summary
Constructors Constructor Description ActivityLogAlertPatchBody()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanenabled()Get indicates whether this activity log alert is enabled.Map<String,String>tags()Get resource tags.ActivityLogAlertPatchBodywithEnabled(Boolean enabled)Set indicates whether this activity log alert is enabled.ActivityLogAlertPatchBodywithTags(Map<String,String> tags)Set resource tags.
-
-
-
Method Detail
-
withTags
public ActivityLogAlertPatchBody withTags(Map<String,String> tags)
Set resource tags.- Parameters:
tags- the tags value to set- Returns:
- the ActivityLogAlertPatchBody object itself.
-
enabled
public Boolean enabled()
Get indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated.- Returns:
- the enabled value
-
withEnabled
public ActivityLogAlertPatchBody withEnabled(Boolean enabled)
Set indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated.- Parameters:
enabled- the enabled value to set- Returns:
- the ActivityLogAlertPatchBody object itself.
-
-