com.azure.resourcemanager.storage.models.Permissions 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 signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add
* (a), Create (c), Update (u) and Process (p).
*/
public final class Permissions extends ExpandableStringEnum {
/** Static value r for Permissions. */
public static final Permissions R = fromString("r");
/** Static value d for Permissions. */
public static final Permissions D = fromString("d");
/** Static value w for Permissions. */
public static final Permissions W = fromString("w");
/** Static value l for Permissions. */
public static final Permissions L = fromString("l");
/** Static value a for Permissions. */
public static final Permissions A = fromString("a");
/** Static value c for Permissions. */
public static final Permissions C = fromString("c");
/** Static value u for Permissions. */
public static final Permissions U = fromString("u");
/** Static value p for Permissions. */
public static final Permissions P = fromString("p");
/**
* Creates or finds a Permissions from its string representation.
*
* @param name a name to look for.
* @return the corresponding Permissions.
*/
@JsonCreator
public static Permissions fromString(String name) {
return fromString(name, Permissions.class);
}
/**
* Gets known Permissions values.
*
* @return known Permissions values.
*/
public static Collection values() {
return values(Permissions.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy