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

package com.azure.resourcemanager.recoveryservicessiterecovery.models;

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

/** Key Encryption Key (KEK) information. */
@Fluent
public final class KeyEncryptionKeyInfo {
    /*
     * The key URL / identifier.
     */
    @JsonProperty(value = "keyIdentifier")
    private String keyIdentifier;

    /*
     * The KeyVault resource ARM Id for key.
     */
    @JsonProperty(value = "keyVaultResourceArmId")
    private String keyVaultResourceArmId;

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

    /**
     * Get the keyIdentifier property: The key URL / identifier.
     *
     * @return the keyIdentifier value.
     */
    public String keyIdentifier() {
        return this.keyIdentifier;
    }

    /**
     * Set the keyIdentifier property: The key URL / identifier.
     *
     * @param keyIdentifier the keyIdentifier value to set.
     * @return the KeyEncryptionKeyInfo object itself.
     */
    public KeyEncryptionKeyInfo withKeyIdentifier(String keyIdentifier) {
        this.keyIdentifier = keyIdentifier;
        return this;
    }

    /**
     * Get the keyVaultResourceArmId property: The KeyVault resource ARM Id for key.
     *
     * @return the keyVaultResourceArmId value.
     */
    public String keyVaultResourceArmId() {
        return this.keyVaultResourceArmId;
    }

    /**
     * Set the keyVaultResourceArmId property: The KeyVault resource ARM Id for key.
     *
     * @param keyVaultResourceArmId the keyVaultResourceArmId value to set.
     * @return the KeyEncryptionKeyInfo object itself.
     */
    public KeyEncryptionKeyInfo withKeyVaultResourceArmId(String keyVaultResourceArmId) {
        this.keyVaultResourceArmId = keyVaultResourceArmId;
        return this;
    }

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