public enum CosmosResourceType extends Enum<CosmosResourceType>
Enum Constant and Description |
---|
Attachment |
Conflict |
Database |
Document |
DocumentCollection |
Index |
Offer |
Permission |
StoredProcedure |
System |
Trigger |
User |
UserDefinedFunction |
Modifier and Type | Method and Description |
---|---|
int |
value() |
static CosmosResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CosmosResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CosmosResourceType System
public static final CosmosResourceType Attachment
public static final CosmosResourceType DocumentCollection
public static final CosmosResourceType Conflict
public static final CosmosResourceType Database
public static final CosmosResourceType Document
public static final CosmosResourceType Index
public static final CosmosResourceType Offer
public static final CosmosResourceType Permission
public static final CosmosResourceType StoredProcedure
public static final CosmosResourceType Trigger
public static final CosmosResourceType User
public static final CosmosResourceType UserDefinedFunction
public static CosmosResourceType[] values()
for (CosmosResourceType c : CosmosResourceType.values()) System.out.println(c);
public static CosmosResourceType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int value()
Copyright © 2020 Microsoft Corporation. All rights reserved.