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

package com.azure.resourcemanager.devtestlabs.models;

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

/** Properties for retargeting a virtual machine schedule. */
@Fluent
public final class RetargetScheduleProperties {
    /*
     * The resource Id of the virtual machine on which the schedule operates
     */
    @JsonProperty(value = "currentResourceId")
    private String currentResourceId;

    /*
     * The resource Id of the virtual machine that the schedule should be retargeted to
     */
    @JsonProperty(value = "targetResourceId")
    private String targetResourceId;

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

    /**
     * Get the currentResourceId property: The resource Id of the virtual machine on which the schedule operates.
     *
     * @return the currentResourceId value.
     */
    public String currentResourceId() {
        return this.currentResourceId;
    }

    /**
     * Set the currentResourceId property: The resource Id of the virtual machine on which the schedule operates.
     *
     * @param currentResourceId the currentResourceId value to set.
     * @return the RetargetScheduleProperties object itself.
     */
    public RetargetScheduleProperties withCurrentResourceId(String currentResourceId) {
        this.currentResourceId = currentResourceId;
        return this;
    }

    /**
     * Get the targetResourceId property: The resource Id of the virtual machine that the schedule should be retargeted
     * to.
     *
     * @return the targetResourceId value.
     */
    public String targetResourceId() {
        return this.targetResourceId;
    }

    /**
     * Set the targetResourceId property: The resource Id of the virtual machine that the schedule should be retargeted
     * to.
     *
     * @param targetResourceId the targetResourceId value to set.
     * @return the RetargetScheduleProperties object itself.
     */
    public RetargetScheduleProperties withTargetResourceId(String targetResourceId) {
        this.targetResourceId = targetResourceId;
        return this;
    }

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