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

package com.azure.resourcemanager.networkcloud.models;

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

/** VirtualMachinePowerOffParameters represents the body of the request to power off virtual machine. */
@Fluent
public final class VirtualMachinePowerOffParameters {
    /*
     * The indicator of whether to skip the graceful OS shutdown and power off the virtual machine immediately.
     */
    @JsonProperty(value = "skipShutdown")
    private SkipShutdown skipShutdown;

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

    /**
     * Get the skipShutdown property: The indicator of whether to skip the graceful OS shutdown and power off the
     * virtual machine immediately.
     *
     * @return the skipShutdown value.
     */
    public SkipShutdown skipShutdown() {
        return this.skipShutdown;
    }

    /**
     * Set the skipShutdown property: The indicator of whether to skip the graceful OS shutdown and power off the
     * virtual machine immediately.
     *
     * @param skipShutdown the skipShutdown value to set.
     * @return the VirtualMachinePowerOffParameters object itself.
     */
    public VirtualMachinePowerOffParameters withSkipShutdown(SkipShutdown skipShutdown) {
        this.skipShutdown = skipShutdown;
        return this;
    }

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