Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.storage;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for EncryptionScopeState.
/**
* Defines values for EncryptionScopeState.
*/
public final class EncryptionScopeState extends ExpandableStringEnum<EncryptionScopeState> {
Static value Enabled for EncryptionScopeState. /** Static value Enabled for EncryptionScopeState. */
public static final EncryptionScopeState ENABLED = fromString("Enabled");
Static value Disabled for EncryptionScopeState. /** Static value Disabled for EncryptionScopeState. */
public static final EncryptionScopeState DISABLED = fromString("Disabled");
Creates or finds a EncryptionScopeState from its string representation.
Params: - name – a name to look for
Returns: the corresponding 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);
}
Returns: known EncryptionScopeState values
/**
* @return known EncryptionScopeState values
*/
public static Collection<EncryptionScopeState> values() {
return values(EncryptionScopeState.class);
}
}