Compartilhar via


ConnectionMode Enum

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

public enum ConnectionMode
extends java.lang.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. Gateway is the default. Refer to http://azure.microsoft.com/documentation/articles/documentdb- interactions-with-resources/#connectivity-options for additional details.

Fields

DirectHttps

Specifies that requests to server resources are made directly to the data nodes through HTTPS.

Gateway

Specifies that requests to server resources are made through a gateway proxy using HTTPS.

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

valueOf(String name)

public static ConnectionMode valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static ConnectionMode[] values()

Returns

Applies to