BareMetalMachinePatchProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.fluent.models.BareMetalMachinePatchProperties

Implements

public final class BareMetalMachinePatchProperties
implements JsonSerializable<BareMetalMachinePatchProperties>

BareMetalMachinePatchProperties represents the properties of the bare metal machine that can be patched.

Constructor Summary

Constructor Description
BareMetalMachinePatchProperties()

Creates an instance of BareMetalMachinePatchProperties class.

Method Summary

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

Reads an instance of BareMetalMachinePatchProperties from the JsonReader.

String machineDetails()

Get the machineDetails property: The details provided by the customer during the creation of rack manifests that allows for custom data to be associated with this machine.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BareMetalMachinePatchProperties withMachineDetails(String machineDetails)

Set the machineDetails property: The details provided by the customer during the creation of rack manifests that allows for custom data to be associated with this machine.

Methods inherited from java.lang.Object

Constructor Details

BareMetalMachinePatchProperties

public BareMetalMachinePatchProperties()

Creates an instance of BareMetalMachinePatchProperties class.

Method Details

fromJson

public static BareMetalMachinePatchProperties fromJson(JsonReader jsonReader)

Reads an instance of BareMetalMachinePatchProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

machineDetails

public String machineDetails()

Get the machineDetails property: The details provided by the customer during the creation of rack manifests that allows for custom data to be associated with this machine.

Returns:

the machineDetails value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withMachineDetails

public BareMetalMachinePatchProperties withMachineDetails(String machineDetails)

Set the machineDetails property: The details provided by the customer during the creation of rack manifests that allows for custom data to be associated with this machine.

Parameters:

machineDetails - the machineDetails value to set.

Returns:

the BareMetalMachinePatchProperties object itself.

Applies to