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

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

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

/** Volume response properties. */
@Fluent
public final class VolumeUpdateProperties {
    /*
     * Volume size.
     */
    @JsonProperty(value = "sizeGiB")
    private Long sizeGiB;

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

    /**
     * Get the sizeGiB property: Volume size.
     *
     * @return the sizeGiB value.
     */
    public Long sizeGiB() {
        return this.sizeGiB;
    }

    /**
     * Set the sizeGiB property: Volume size.
     *
     * @param sizeGiB the sizeGiB value to set.
     * @return the VolumeUpdateProperties object itself.
     */
    public VolumeUpdateProperties withSizeGiB(Long sizeGiB) {
        this.sizeGiB = sizeGiB;
        return this;
    }

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