// 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;

/** Disk Encryption Key Information (BitLocker Encryption Key (BEK) on Windows). */
@Fluent
public final class DiskEncryptionKeyInfo {
    /*
     * The secret url / identifier.
     */
    @JsonProperty(value = "secretIdentifier")
    private String secretIdentifier;

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

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

    /**
     * Get the secretIdentifier property: The secret url / identifier.
     *
     * @return the secretIdentifier value.
     */
    public String secretIdentifier() {
        return this.secretIdentifier;
    }

    /**
     * Set the secretIdentifier property: The secret url / identifier.
     *
     * @param secretIdentifier the secretIdentifier value to set.
     * @return the DiskEncryptionKeyInfo object itself.
     */
    public DiskEncryptionKeyInfo withSecretIdentifier(String secretIdentifier) {
        this.secretIdentifier = secretIdentifier;
        return this;
    }

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

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

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