Class CosmosDbConnectionMode
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<CosmosDbConnectionMode>
-
- com.azure.resourcemanager.datafactory.models.CosmosDbConnectionMode
-
public final class CosmosDbConnectionMode extends com.azure.core.util.ExpandableStringEnum<CosmosDbConnectionMode>
Defines values for CosmosDbConnectionMode.
-
-
Field Summary
Fields Modifier and Type Field Description static CosmosDbConnectionMode
DIRECT
Static value Direct for CosmosDbConnectionMode.static CosmosDbConnectionMode
GATEWAY
Static value Gateway for CosmosDbConnectionMode.
-
Constructor Summary
Constructors Constructor Description CosmosDbConnectionMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CosmosDbConnectionMode
fromString(String name)
Creates or finds a CosmosDbConnectionMode from its string representation.static Collection<CosmosDbConnectionMode>
values()
Gets known CosmosDbConnectionMode values.
-
-
-
Field Detail
-
GATEWAY
public static final CosmosDbConnectionMode GATEWAY
Static value Gateway for CosmosDbConnectionMode.
-
DIRECT
public static final CosmosDbConnectionMode DIRECT
Static value Direct for CosmosDbConnectionMode.
-
-
Method Detail
-
fromString
public static CosmosDbConnectionMode fromString(String name)
Creates or finds a CosmosDbConnectionMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding CosmosDbConnectionMode.
-
values
public static Collection<CosmosDbConnectionMode> values()
Gets known CosmosDbConnectionMode values.- Returns:
- known CosmosDbConnectionMode values.
-
-