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 EncryptionScopeSource.
/**
* Defines values for EncryptionScopeSource.
*/
public final class EncryptionScopeSource extends ExpandableStringEnum<EncryptionScopeSource> {
Static value Microsoft.Storage for EncryptionScopeSource. /** Static value Microsoft.Storage for EncryptionScopeSource. */
public static final EncryptionScopeSource MICROSOFT_STORAGE = fromString("Microsoft.Storage");
Static value Microsoft.KeyVault for EncryptionScopeSource. /** Static value Microsoft.KeyVault for EncryptionScopeSource. */
public static final EncryptionScopeSource MICROSOFT_KEY_VAULT = fromString("Microsoft.KeyVault");
Creates or finds a EncryptionScopeSource from its string representation.
Params: - name – a name to look for
Returns: the corresponding EncryptionScopeSource
/**
* Creates or finds a EncryptionScopeSource from its string representation.
* @param name a name to look for
* @return the corresponding EncryptionScopeSource
*/
@JsonCreator
public static EncryptionScopeSource fromString(String name) {
return fromString(name, EncryptionScopeSource.class);
}
Returns: known EncryptionScopeSource values
/**
* @return known EncryptionScopeSource values
*/
public static Collection<EncryptionScopeSource> values() {
return values(EncryptionScopeSource.class);
}
}