Class ComputeInstanceVersion
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ComputeInstanceVersion
-
public final class ComputeInstanceVersion extends Object
Version of computeInstance.
-
-
Constructor Summary
Constructors Constructor Description ComputeInstanceVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
runtime()
Get the runtime property: Runtime of compute instance.void
validate()
Validates the instance.ComputeInstanceVersion
withRuntime(String runtime)
Set the runtime property: Runtime of compute instance.
-
-
-
Method Detail
-
runtime
public String runtime()
Get the runtime property: Runtime of compute instance.- Returns:
- the runtime value.
-
withRuntime
public ComputeInstanceVersion withRuntime(String runtime)
Set the runtime property: Runtime of compute instance.- Parameters:
runtime
- the runtime value to set.- Returns:
- the ComputeInstanceVersion object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-