Partager via


PermissionMode Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.azure.documentdb.PermissionMode

public enum PermissionMode
extends java.lang.Enum<PermissionMode>

Enumeration specifying applicability of permission in the Azure Cosmos DB database service.

Fields

All

Permission applicable for all operations.

Read

Permission applicable for read operations only.

Methods inherited from java.lang.Enum

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.describeConstable java.lang.Enum.equals java.lang.Enum.finalize java.lang.Enum.getDeclaringClass java.lang.Enum.hashCode java.lang.Enum.name java.lang.Enum.ordinal java.lang.Enum.toString

Methods inherited from java.lang.Object

java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods

getValue()

public int getValue()

Gets the numerical value of the permission mode.

Returns

int
the numerical value.

valueOf(String name)

public static PermissionMode valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static PermissionMode[] values()

Returns

Applies to