HardwareValidationStatus Class

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

Implements

public final class HardwareValidationStatus
implements JsonSerializable<HardwareValidationStatus>

HardwareValidationStatus represents the latest hardware validation details performed for this bare metal machine.

Constructor Summary

Constructor Description
HardwareValidationStatus()

Creates an instance of HardwareValidationStatus class.

Method Summary

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

Reads an instance of HardwareValidationStatus from the JsonReader.

OffsetDateTime lastValidationTime()

Get the lastValidationTime property: The timestamp of the hardware validation execution.

BareMetalMachineHardwareValidationResult result()

Get the result property: The outcome of the hardware validation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

HardwareValidationStatus

public HardwareValidationStatus()

Creates an instance of HardwareValidationStatus class.

Method Details

fromJson

public static HardwareValidationStatus fromJson(JsonReader jsonReader)

Reads an instance of HardwareValidationStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

lastValidationTime

public OffsetDateTime lastValidationTime()

Get the lastValidationTime property: The timestamp of the hardware validation execution.

Returns:

the lastValidationTime value.

result

public BareMetalMachineHardwareValidationResult result()

Get the result property: The outcome of the hardware validation.

Returns:

the result value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to