HealthReportResourceDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.HealthReportResourceDetails

Implements

public final class HealthReportResourceDetails
implements JsonSerializable<HealthReportResourceDetails>

The resource details of the health report.

Method Summary

Modifier and Type Method and Description
String connectorId()

Get the connectorId property: The id of the connector.

static HealthReportResourceDetails fromJson(JsonReader jsonReader)

Reads an instance of HealthReportResourceDetails from the JsonReader.

String id()

Get the id property: The azure id of the resource.

Source source()

Get the source property: The status of the health report.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

connectorId

public String connectorId()

Get the connectorId property: The id of the connector.

Returns:

the connectorId value.

fromJson

public static HealthReportResourceDetails fromJson(JsonReader jsonReader)

Reads an instance of HealthReportResourceDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The azure id of the resource.

Returns:

the id value.

source

public Source source()

Get the source property: The status of the health report.

Returns:

the source value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to