RuntimeProtectionStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.RuntimeProtectionStatus

Implements

public final class RuntimeProtectionStatus
implements JsonSerializable<RuntimeProtectionStatus>

RuntimeProtectionStatus represents the runtime protection status of the bare metal machine.

Constructor Summary

Constructor Description
RuntimeProtectionStatus()

Creates an instance of RuntimeProtectionStatus class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime definitionsLastUpdated()

Get the definitionsLastUpdated property: The timestamp when the malware definitions were last updated.

String definitionsVersion()

Get the definitionsVersion property: The version of the malware definitions.

static RuntimeProtectionStatus fromJson(JsonReader jsonReader)

Reads an instance of RuntimeProtectionStatus from the JsonReader.

OffsetDateTime scanCompletedTime()

Get the scanCompletedTime property: The timestamp of the most recently completed scan, or empty if there has never been a scan.

OffsetDateTime scanScheduledTime()

Get the scanScheduledTime property: The timestamp of the most recently scheduled scan, or empty if no scan has been scheduled.

OffsetDateTime scanStartedTime()

Get the scanStartedTime property: The timestamp of the most recently started scan, or empty if there has never been a scan.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

RuntimeProtectionStatus

public RuntimeProtectionStatus()

Creates an instance of RuntimeProtectionStatus class.

Method Details

definitionsLastUpdated

public OffsetDateTime definitionsLastUpdated()

Get the definitionsLastUpdated property: The timestamp when the malware definitions were last updated.

Returns:

the definitionsLastUpdated value.

definitionsVersion

public String definitionsVersion()

Get the definitionsVersion property: The version of the malware definitions.

Returns:

the definitionsVersion value.

fromJson

public static RuntimeProtectionStatus fromJson(JsonReader jsonReader)

Reads an instance of RuntimeProtectionStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

scanCompletedTime

public OffsetDateTime scanCompletedTime()

Get the scanCompletedTime property: The timestamp of the most recently completed scan, or empty if there has never been a scan.

Returns:

the scanCompletedTime value.

scanScheduledTime

public OffsetDateTime scanScheduledTime()

Get the scanScheduledTime property: The timestamp of the most recently scheduled scan, or empty if no scan has been scheduled.

Returns:

the scanScheduledTime value.

scanStartedTime

public OffsetDateTime scanStartedTime()

Get the scanStartedTime property: The timestamp of the most recently started scan, or empty if there has never been a scan.

Returns:

the scanStartedTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to