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

package com.azure.resourcemanager.netapp.models;

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

/** Volume relocation properties. */
@Fluent
public final class VolumeRelocationProperties {
    /*
     * Has relocation been requested for this volume
     */
    @JsonProperty(value = "relocationRequested")
    private Boolean relocationRequested;

    /*
     * Has relocation finished and is ready to be cleaned up
     */
    @JsonProperty(value = "readyToBeFinalized", access = JsonProperty.Access.WRITE_ONLY)
    private Boolean readyToBeFinalized;

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

    /**
     * Get the relocationRequested property: Has relocation been requested for this volume.
     *
     * @return the relocationRequested value.
     */
    public Boolean relocationRequested() {
        return this.relocationRequested;
    }

    /**
     * Set the relocationRequested property: Has relocation been requested for this volume.
     *
     * @param relocationRequested the relocationRequested value to set.
     * @return the VolumeRelocationProperties object itself.
     */
    public VolumeRelocationProperties withRelocationRequested(Boolean relocationRequested) {
        this.relocationRequested = relocationRequested;
        return this;
    }

    /**
     * Get the readyToBeFinalized property: Has relocation finished and is ready to be cleaned up.
     *
     * @return the readyToBeFinalized value.
     */
    public Boolean readyToBeFinalized() {
        return this.readyToBeFinalized;
    }

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