UnifiedAlertingScreenshots Class

  • java.lang.Object
    • com.azure.resourcemanager.dashboard.models.UnifiedAlertingScreenshots

Implements

public final class UnifiedAlertingScreenshots
implements JsonSerializable<UnifiedAlertingScreenshots>

Grafana Unified Alerting Screenshots settings.

Constructor Summary

Constructor Description
UnifiedAlertingScreenshots()

Creates an instance of UnifiedAlertingScreenshots class.

Method Summary

Modifier and Type Method and Description
Boolean captureEnabled()

Get the captureEnabled property: Set to false to disable capture screenshot in Unified Alert due to performance issue.

static UnifiedAlertingScreenshots fromJson(JsonReader jsonReader)

Reads an instance of UnifiedAlertingScreenshots from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
UnifiedAlertingScreenshots withCaptureEnabled(Boolean captureEnabled)

Set the captureEnabled property: Set to false to disable capture screenshot in Unified Alert due to performance issue.

Methods inherited from java.lang.Object

Constructor Details

UnifiedAlertingScreenshots

public UnifiedAlertingScreenshots()

Creates an instance of UnifiedAlertingScreenshots class.

Method Details

captureEnabled

public Boolean captureEnabled()

Get the captureEnabled property: Set to false to disable capture screenshot in Unified Alert due to performance issue.

Returns:

the captureEnabled value.

fromJson

public static UnifiedAlertingScreenshots fromJson(JsonReader jsonReader)

Reads an instance of UnifiedAlertingScreenshots from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of UnifiedAlertingScreenshots 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 UnifiedAlertingScreenshots.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withCaptureEnabled

public UnifiedAlertingScreenshots withCaptureEnabled(Boolean captureEnabled)

Set the captureEnabled property: Set to false to disable capture screenshot in Unified Alert due to performance issue.

Parameters:

captureEnabled - the captureEnabled value to set.

Returns:

the UnifiedAlertingScreenshots object itself.

Applies to