com.azure.resourcemanager.storage.models.EncryptionScopeState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-storage Show documentation
Show all versions of azure-resourcemanager-storage Show documentation
This package contains Microsoft Azure Storage Management SDK.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.storage.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/**
* The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled.
*/
public final class EncryptionScopeState extends ExpandableStringEnum {
/**
* Static value Enabled for EncryptionScopeState.
*/
public static final EncryptionScopeState ENABLED = fromString("Enabled");
/**
* Static value Disabled for EncryptionScopeState.
*/
public static final EncryptionScopeState DISABLED = fromString("Disabled");
/**
* Creates a new instance of EncryptionScopeState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public EncryptionScopeState() {
}
/**
* Creates or finds a EncryptionScopeState from its string representation.
*
* @param name a name to look for.
* @return the corresponding EncryptionScopeState.
*/
@JsonCreator
public static EncryptionScopeState fromString(String name) {
return fromString(name, EncryptionScopeState.class);
}
/**
* Gets known EncryptionScopeState values.
*
* @return known EncryptionScopeState values.
*/
public static Collection values() {
return values(EncryptionScopeState.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy