All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.storage.models.KeySource Maven / Gradle / Ivy

There is a newer version: 2.45.0
Show 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.storage.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. */
public final class KeySource extends ExpandableStringEnum {
    /** Static value Microsoft.Storage for KeySource. */
    public static final KeySource MICROSOFT_STORAGE = fromString("Microsoft.Storage");

    /** Static value Microsoft.Keyvault for KeySource. */
    public static final KeySource MICROSOFT_KEYVAULT = fromString("Microsoft.Keyvault");

    /**
     * Creates or finds a KeySource from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding KeySource.
     */
    @JsonCreator
    public static KeySource fromString(String name) {
        return fromString(name, KeySource.class);
    }

    /**
     * Gets known KeySource values.
     *
     * @return known KeySource values.
     */
    public static Collection values() {
        return values(KeySource.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy