com.azure.resourcemanager.dataprotection.models.InfrastructureEncryptionState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-dataprotection Show documentation
Show all versions of azure-resourcemanager-dataprotection Show documentation
This package contains Microsoft Azure SDK for DataProtection 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 Data Protection service. Package tag package-2024-04.
The 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.dataprotection.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Enabling/Disabling the Double Encryption state.
*/
public final class InfrastructureEncryptionState extends ExpandableStringEnum {
/**
* Static value Enabled for InfrastructureEncryptionState.
*/
public static final InfrastructureEncryptionState ENABLED = fromString("Enabled");
/**
* Static value Disabled for InfrastructureEncryptionState.
*/
public static final InfrastructureEncryptionState DISABLED = fromString("Disabled");
/**
* Creates a new instance of InfrastructureEncryptionState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public InfrastructureEncryptionState() {
}
/**
* Creates or finds a InfrastructureEncryptionState from its string representation.
*
* @param name a name to look for.
* @return the corresponding InfrastructureEncryptionState.
*/
public static InfrastructureEncryptionState fromString(String name) {
return fromString(name, InfrastructureEncryptionState.class);
}
/**
* Gets known InfrastructureEncryptionState values.
*
* @return known InfrastructureEncryptionState values.
*/
public static Collection values() {
return values(InfrastructureEncryptionState.class);
}
}