ActionStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.alertsmanagement.models.ActionStatus

Implements

public final class ActionStatus
implements JsonSerializable<ActionStatus>

Action status.

Constructor Summary

Constructor Description
ActionStatus()

Creates an instance of ActionStatus class.

Method Summary

Modifier and Type Method and Description
static ActionStatus fromJson(JsonReader jsonReader)

Reads an instance of ActionStatus from the JsonReader.

Boolean isSuppressed()

Get the isSuppressed property: Value indicating whether alert is suppressed.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ActionStatus withIsSuppressed(Boolean isSuppressed)

Set the isSuppressed property: Value indicating whether alert is suppressed.

Methods inherited from java.lang.Object

Constructor Details

ActionStatus

public ActionStatus()

Creates an instance of ActionStatus class.

Method Details

fromJson

public static ActionStatus fromJson(JsonReader jsonReader)

Reads an instance of ActionStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ActionStatus.

isSuppressed

public Boolean isSuppressed()

Get the isSuppressed property: Value indicating whether alert is suppressed.

Returns:

the isSuppressed value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIsSuppressed

public ActionStatus withIsSuppressed(Boolean isSuppressed)

Set the isSuppressed property: Value indicating whether alert is suppressed.

Parameters:

isSuppressed - the isSuppressed value to set.

Returns:

the ActionStatus object itself.

Applies to