All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.recoveryservicesbackup.models.KekDetails Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2024-04.

There is a newer version: 1.5.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.recoveryservicesbackup.models;

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

/**
 * KEK is encryption key for BEK.
 */
@Fluent
public final class KekDetails {
    /*
     * Key is KEK.
     */
    @JsonProperty(value = "keyUrl")
    private String keyUrl;

    /*
     * Key Vault ID where this Key is stored.
     */
    @JsonProperty(value = "keyVaultId")
    private String keyVaultId;

    /*
     * KEK data.
     */
    @JsonProperty(value = "keyBackupData")
    private String keyBackupData;

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

    /**
     * Get the keyUrl property: Key is KEK.
     * 
     * @return the keyUrl value.
     */
    public String keyUrl() {
        return this.keyUrl;
    }

    /**
     * Set the keyUrl property: Key is KEK.
     * 
     * @param keyUrl the keyUrl value to set.
     * @return the KekDetails object itself.
     */
    public KekDetails withKeyUrl(String keyUrl) {
        this.keyUrl = keyUrl;
        return this;
    }

    /**
     * Get the keyVaultId property: Key Vault ID where this Key is stored.
     * 
     * @return the keyVaultId value.
     */
    public String keyVaultId() {
        return this.keyVaultId;
    }

    /**
     * Set the keyVaultId property: Key Vault ID where this Key is stored.
     * 
     * @param keyVaultId the keyVaultId value to set.
     * @return the KekDetails object itself.
     */
    public KekDetails withKeyVaultId(String keyVaultId) {
        this.keyVaultId = keyVaultId;
        return this;
    }

    /**
     * Get the keyBackupData property: KEK data.
     * 
     * @return the keyBackupData value.
     */
    public String keyBackupData() {
        return this.keyBackupData;
    }

    /**
     * Set the keyBackupData property: KEK data.
     * 
     * @param keyBackupData the keyBackupData value to set.
     * @return the KekDetails object itself.
     */
    public KekDetails withKeyBackupData(String keyBackupData) {
        this.keyBackupData = keyBackupData;
        return this;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy