Share via


RecommendedMachineConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.models.RecommendedMachineConfiguration

Implements

public final class RecommendedMachineConfiguration
implements JsonSerializable<RecommendedMachineConfiguration>

Properties for a recommended machine configuration.

Constructor Summary

Constructor Description
RecommendedMachineConfiguration()

Creates an instance of RecommendedMachineConfiguration class.

Method Summary

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

Reads an instance of RecommendedMachineConfiguration from the JsonReader.

ResourceRange memory()

Get the memory property: Recommended memory range.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ResourceRange vCPUs()

Get the vCPUs property: Recommended vCPU range.

Methods inherited from java.lang.Object

Constructor Details

RecommendedMachineConfiguration

public RecommendedMachineConfiguration()

Creates an instance of RecommendedMachineConfiguration class.

Method Details

fromJson

public static RecommendedMachineConfiguration fromJson(JsonReader jsonReader)

Reads an instance of RecommendedMachineConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

memory

public ResourceRange memory()

Get the memory property: Recommended memory range.

Returns:

the memory value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vCPUs

public ResourceRange vCPUs()

Get the vCPUs property: Recommended vCPU range.

Returns:

the vCPUs value.

Applies to