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

package com.azure.resourcemanager.datalakestore.models;

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

/** The Key Vault update information used for user managed key rotation. */
@Fluent
public final class UpdateKeyVaultMetaInfo {
    /*
     * The version of the user managed encryption key to update through a key rotation.
     */
    @JsonProperty(value = "encryptionKeyVersion")
    private String encryptionKeyVersion;

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

    /**
     * Get the encryptionKeyVersion property: The version of the user managed encryption key to update through a key
     * rotation.
     *
     * @return the encryptionKeyVersion value.
     */
    public String encryptionKeyVersion() {
        return this.encryptionKeyVersion;
    }

    /**
     * Set the encryptionKeyVersion property: The version of the user managed encryption key to update through a key
     * rotation.
     *
     * @param encryptionKeyVersion the encryptionKeyVersion value to set.
     * @return the UpdateKeyVaultMetaInfo object itself.
     */
    public UpdateKeyVaultMetaInfo withEncryptionKeyVersion(String encryptionKeyVersion) {
        this.encryptionKeyVersion = encryptionKeyVersion;
        return this;
    }

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