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

com.azure.resourcemanager.recoveryservicesbackup.models.BekDetails 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;

/**
 * BEK is bitlocker encryption key.
 */
@Fluent
public final class BekDetails {
    /*
     * Secret is BEK.
     */
    @JsonProperty(value = "secretUrl")
    private String secretUrl;

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

    /*
     * BEK data.
     */
    @JsonProperty(value = "secretData")
    private String secretData;

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

    /**
     * Get the secretUrl property: Secret is BEK.
     * 
     * @return the secretUrl value.
     */
    public String secretUrl() {
        return this.secretUrl;
    }

    /**
     * Set the secretUrl property: Secret is BEK.
     * 
     * @param secretUrl the secretUrl value to set.
     * @return the BekDetails object itself.
     */
    public BekDetails withSecretUrl(String secretUrl) {
        this.secretUrl = secretUrl;
        return this;
    }

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

    /**
     * Set the secretVaultId property: ID of the Key Vault where this Secret is stored.
     * 
     * @param secretVaultId the secretVaultId value to set.
     * @return the BekDetails object itself.
     */
    public BekDetails withSecretVaultId(String secretVaultId) {
        this.secretVaultId = secretVaultId;
        return this;
    }

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

    /**
     * Set the secretData property: BEK data.
     * 
     * @param secretData the secretData value to set.
     * @return the BekDetails object itself.
     */
    public BekDetails withSecretData(String secretData) {
        this.secretData = secretData;
        return this;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy