DevBoxHardwareProfile Class

  • java.lang.Object
    • com.azure.developer.devcenter.models.DevBoxHardwareProfile

Implements

public final class DevBoxHardwareProfile
implements JsonSerializable<DevBoxHardwareProfile>

Hardware specifications for the Dev Box.

Method Summary

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

Reads an instance of DevBoxHardwareProfile from the JsonReader.

Integer getMemoryInGb()

Get the memoryInGb property: The amount of memory available for the Dev Box.

SkuName getSkuName()

Get the skuName property: The name of the SKU.

Integer getVCpus()

Get the vCpus property: The number of vCPUs available for the Dev Box.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static DevBoxHardwareProfile fromJson(JsonReader jsonReader)

Reads an instance of DevBoxHardwareProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getMemoryInGb

public Integer getMemoryInGb()

Get the memoryInGb property: The amount of memory available for the Dev Box.

Returns:

the memoryInGb value.

getSkuName

public SkuName getSkuName()

Get the skuName property: The name of the SKU.

Returns:

the skuName value.

getVCpus

public Integer getVCpus()

Get the vCpus property: The number of vCPUs available for the Dev Box.

Returns:

the vCpus value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to