Class MongoDbAuthenticationType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<MongoDbAuthenticationType>
com.azure.analytics.synapse.artifacts.models.MongoDbAuthenticationType
public final class MongoDbAuthenticationType
extends com.azure.core.util.ExpandableStringEnum<MongoDbAuthenticationType>
The authentication type to be used to connect to the MongoDB database.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final MongoDbAuthenticationType
Static value Anonymous for MongoDbAuthenticationType.static final MongoDbAuthenticationType
Static value Basic for MongoDbAuthenticationType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MongoDbAuthenticationType
fromString
(String name) Creates or finds a MongoDbAuthenticationType from its string representation.static Collection<MongoDbAuthenticationType>
values()
Gets known MongoDbAuthenticationType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
BASIC
Static value Basic for MongoDbAuthenticationType. -
ANONYMOUS
Static value Anonymous for MongoDbAuthenticationType.
-
-
Constructor Details
-
MongoDbAuthenticationType
public MongoDbAuthenticationType()
-
-
Method Details
-
fromString
Creates or finds a MongoDbAuthenticationType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding MongoDbAuthenticationType.
-
values
Gets known MongoDbAuthenticationType values.- Returns:
- known MongoDbAuthenticationType values.
-