ConnectionMode Enum
- java.
lang. Object - java.
lang. Enum - com.
azure. cosmos. ConnectionMode
- com.
- java.
public enum ConnectionMode
extends Enum<ConnectionMode>
Represents the connection mode to be used by the client in the Azure Cosmos DB database service.
DIRECT and GATEWAY connectivity modes are supported. DIRECT is the default.
Fields
DIRECT |
Specifies that requests to server resources are made directly to the data nodes. |
GATEWAY |
Specifies that requests to server resources are made through a gateway proxy using HTTPS. |
Methods inherited from java.lang.Enum
valueOf
clone
compareTo
describeConstable
equals
finalize
getDeclaringClass
hashCode
name
ordinal
toString
Methods inherited from java.lang.Object
Methods
valueOf(String name)
values()
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java