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

package com.azure.resourcemanager.automation.fluent.models;

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

/** The parameters supplied to the create or update hybrid runbook worker operation. */
@Fluent
public final class HybridRunbookWorkerCreateOrUpdateParameters {
    /*
     * Azure Resource Manager Id for a virtual machine.
     */
    @JsonProperty(value = "vmResourceId")
    private String vmResourceId;

    /**
     * Get the vmResourceId property: Azure Resource Manager Id for a virtual machine.
     *
     * @return the vmResourceId value.
     */
    public String vmResourceId() {
        return this.vmResourceId;
    }

    /**
     * Set the vmResourceId property: Azure Resource Manager Id for a virtual machine.
     *
     * @param vmResourceId the vmResourceId value to set.
     * @return the HybridRunbookWorkerCreateOrUpdateParameters object itself.
     */
    public HybridRunbookWorkerCreateOrUpdateParameters withVmResourceId(String vmResourceId) {
        this.vmResourceId = vmResourceId;
        return this;
    }

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