// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.machinelearning.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Version of computeInstance. */
@Fluent
public final class ComputeInstanceVersion {
    /*
     * Runtime of compute instance.
     */
    @JsonProperty(value = "runtime")
    private String runtime;

    /** Creates an instance of ComputeInstanceVersion class. */
    public ComputeInstanceVersion() {
    }

    /**
     * Get the runtime property: Runtime of compute instance.
     *
     * @return the runtime value.
     */
    public String runtime() {
        return this.runtime;
    }

    /**
     * Set the runtime property: Runtime of compute instance.
     *
     * @param runtime the runtime value to set.
     * @return the ComputeInstanceVersion object itself.
     */
    public ComputeInstanceVersion withRuntime(String runtime) {
        this.runtime = runtime;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
