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

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

There is a newer version: 2.44.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 java.util.Collection;

/**
 * The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f),
 * Share (s).
 */
public final class SignedResource extends ExpandableStringEnum {
    /**
     * Static value b for SignedResource.
     */
    public static final SignedResource B = fromString("b");

    /**
     * Static value c for SignedResource.
     */
    public static final SignedResource C = fromString("c");

    /**
     * Static value f for SignedResource.
     */
    public static final SignedResource F = fromString("f");

    /**
     * Static value s for SignedResource.
     */
    public static final SignedResource S = fromString("s");

    /**
     * Creates a new instance of SignedResource value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public SignedResource() {
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy