MaterializationComputeResource Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearning.models.MaterializationComputeResource

Implements

public final class MaterializationComputeResource
implements JsonSerializable<MaterializationComputeResource>

DTO object representing compute resource.

Constructor Summary

Constructor Description
MaterializationComputeResource()

Creates an instance of MaterializationComputeResource class.

Method Summary

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

Reads an instance of MaterializationComputeResource from the JsonReader.

String instanceType()

Get the instanceType property: Specifies the instance type.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MaterializationComputeResource withInstanceType(String instanceType)

Set the instanceType property: Specifies the instance type.

Methods inherited from java.lang.Object

Constructor Details

MaterializationComputeResource

public MaterializationComputeResource()

Creates an instance of MaterializationComputeResource class.

Method Details

fromJson

public static MaterializationComputeResource fromJson(JsonReader jsonReader)

Reads an instance of MaterializationComputeResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

instanceType

public String instanceType()

Get the instanceType property: Specifies the instance type.

Returns:

the instanceType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withInstanceType

public MaterializationComputeResource withInstanceType(String instanceType)

Set the instanceType property: Specifies the instance type.

Parameters:

instanceType - the instanceType value to set.

Returns:

the MaterializationComputeResource object itself.

Applies to