ActivityLogAlertAllOfCondition Class

  • java.lang.Object
    • com.azure.resourcemanager.monitor.models.ActivityLogAlertAllOfCondition

Implements

public final class ActivityLogAlertAllOfCondition
implements JsonSerializable<ActivityLogAlertAllOfCondition>

An Activity Log Alert rule condition that is met when all its member conditions are met.

Constructor Summary

Constructor Description
ActivityLogAlertAllOfCondition()

Creates an instance of ActivityLogAlertAllOfCondition class.

Method Summary

Modifier and Type Method and Description
List<ActivityLogAlertLeafCondition> allOf()

Get the allOf property: The list of Activity Log Alert rule conditions.

static ActivityLogAlertAllOfCondition fromJson(JsonReader jsonReader)

Reads an instance of ActivityLogAlertAllOfCondition from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ActivityLogAlertAllOfCondition withAllOf(List<ActivityLogAlertLeafCondition> allOf)

Set the allOf property: The list of Activity Log Alert rule conditions.

Methods inherited from java.lang.Object

Constructor Details

ActivityLogAlertAllOfCondition

public ActivityLogAlertAllOfCondition()

Creates an instance of ActivityLogAlertAllOfCondition class.

Method Details

allOf

public List allOf()

Get the allOf property: The list of Activity Log Alert rule conditions.

Returns:

the allOf value.

fromJson

public static ActivityLogAlertAllOfCondition fromJson(JsonReader jsonReader)

Reads an instance of ActivityLogAlertAllOfCondition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ActivityLogAlertAllOfCondition if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAllOf

public ActivityLogAlertAllOfCondition withAllOf(List allOf)

Set the allOf property: The list of Activity Log Alert rule conditions.

Parameters:

allOf - the allOf value to set.

Returns:

the ActivityLogAlertAllOfCondition object itself.

Applies to