com.microsoft.azure.keyvault.models.SecretAttributes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-keyvault Show documentation
Show all versions of azure-keyvault Show documentation
This library has been replaced by new Azure SDKs, you can read about them at https://aka.ms/azsdkvalueprop. The latest libraries to interact with the Azure Key Vault service are:
(1) https://search.maven.org/artifact/com.azure/azure-security-keyvault-keys.
(2) https://search.maven.org/artifact/com.azure/azure-security-keyvault-secrets.
(3) https://search.maven.org/artifact/com.azure/azure-security-keyvault-certificates.
It is recommended that you move to the new package.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator
package com.microsoft.azure.keyvault.models;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The secret management attributes.
*/
public class SecretAttributes extends Attributes {
/**
* Reflects the deletion recovery level currently in effect for secrets in
* the current vault. If it contains 'Purgeable', the secret can be
* permanently deleted by a privileged user; otherwise, only the system can
* purge the secret, at the end of the retention interval. Possible values
* include: 'Purgeable', 'Recoverable+Purgeable', 'Recoverable',
* 'Recoverable+ProtectedSubscription'.
*/
@JsonProperty(value = "recoveryLevel", access = JsonProperty.Access.WRITE_ONLY)
private DeletionRecoveryLevel recoveryLevel;
/**
* Get the recoveryLevel value.
*
* @return the recoveryLevel value
*/
public DeletionRecoveryLevel recoveryLevel() {
return this.recoveryLevel;
}
}