ProtectionStatusDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.ProtectionStatusDetails

Implements

public final class ProtectionStatusDetails
implements JsonSerializable<ProtectionStatusDetails>

Protection status details.

Method Summary

Modifier and Type Method and Description
UserFacingError errorDetails()

Get the errorDetails property: Specifies the protection status error of the resource.

static ProtectionStatusDetails fromJson(JsonReader jsonReader)

Reads an instance of ProtectionStatusDetails from the JsonReader.

Status status()

Get the status property: Specifies the protection status of the resource.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

errorDetails

public UserFacingError errorDetails()

Get the errorDetails property: Specifies the protection status error of the resource.

Returns:

the errorDetails value.

fromJson

public static ProtectionStatusDetails fromJson(JsonReader jsonReader)

Reads an instance of ProtectionStatusDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

status

public Status status()

Get the status property: Specifies the protection status of the resource.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to