Class MongoDbLinkedService
java.lang.Object
com.azure.analytics.synapse.artifacts.models.LinkedService
com.azure.analytics.synapse.artifacts.models.MongoDbLinkedService
Linked service for MongoDb data source.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.Get the authenticationType property: The authentication type to be used to connect to the MongoDB database.Get the authSource property: Database to verify the username and password.Get the databaseName property: The name of the MongoDB database that you want to access.Get the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.Get the encryptedCredential property: The encrypted credential used for authentication.Get the password property: Password for authentication.getPort()
Get the port property: The TCP port number that the MongoDB server uses to listen for client connections.Get the server property: The IP address or server name of the MongoDB server.Get the username property: Username for authentication.setAllowSelfSignedServerCert
(Object allowSelfSignedServerCert) Set the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.setAnnotations
(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the linked service.setAuthenticationType
(MongoDbAuthenticationType authenticationType) Set the authenticationType property: The authentication type to be used to connect to the MongoDB database.setAuthSource
(Object authSource) Set the authSource property: Database to verify the username and password.setConnectVia
(IntegrationRuntimeReference connectVia) Set the connectVia property: The integration runtime reference.setDatabaseName
(Object databaseName) Set the databaseName property: The name of the MongoDB database that you want to access.setDescription
(String description) Set the description property: Linked service description.setEnableSsl
(Object enableSsl) Set the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.setEncryptedCredential
(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.setParameters
(Map<String, ParameterSpecification> parameters) Set the parameters property: Parameters for linked service.setPassword
(SecretBase password) Set the password property: Password for authentication.Set the port property: The TCP port number that the MongoDB server uses to listen for client connections.Set the server property: The IP address or server name of the MongoDB server.setUsername
(Object username) Set the username property: Username for authentication.Methods inherited from class com.azure.analytics.synapse.artifacts.models.LinkedService
getAdditionalProperties, getAnnotations, getConnectVia, getDescription, getParameters, setAdditionalProperties
-
Constructor Details
-
MongoDbLinkedService
public MongoDbLinkedService()
-
-
Method Details
-
getServer
Get the server property: The IP address or server name of the MongoDB server. Type: string (or Expression with resultType string).- Returns:
- the server value.
-
setServer
Set the server property: The IP address or server name of the MongoDB server. Type: string (or Expression with resultType string).- Parameters:
server
- the server value to set.- Returns:
- the MongoDbLinkedService object itself.
-
getAuthenticationType
Get the authenticationType property: The authentication type to be used to connect to the MongoDB database.- Returns:
- the authenticationType value.
-
setAuthenticationType
Set the authenticationType property: The authentication type to be used to connect to the MongoDB database.- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the MongoDbLinkedService object itself.
-
getDatabaseName
Get the databaseName property: The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string).- Returns:
- the databaseName value.
-
setDatabaseName
Set the databaseName property: The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string).- Parameters:
databaseName
- the databaseName value to set.- Returns:
- the MongoDbLinkedService object itself.
-
getUsername
Get the username property: Username for authentication. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
setUsername
Set the username property: Username for authentication. Type: string (or Expression with resultType string).- Parameters:
username
- the username value to set.- Returns:
- the MongoDbLinkedService object itself.
-
getPassword
Get the password property: Password for authentication.- Returns:
- the password value.
-
setPassword
Set the password property: Password for authentication.- Parameters:
password
- the password value to set.- Returns:
- the MongoDbLinkedService object itself.
-
getAuthSource
Get the authSource property: Database to verify the username and password. Type: string (or Expression with resultType string).- Returns:
- the authSource value.
-
setAuthSource
Set the authSource property: Database to verify the username and password. Type: string (or Expression with resultType string).- Parameters:
authSource
- the authSource value to set.- Returns:
- the MongoDbLinkedService object itself.
-
getPort
Get the port property: The TCP port number that the MongoDB server uses to listen for client connections. The default value is 27017. Type: integer (or Expression with resultType integer), minimum: 0.- Returns:
- the port value.
-
setPort
Set the port property: The TCP port number that the MongoDB server uses to listen for client connections. The default value is 27017. Type: integer (or Expression with resultType integer), minimum: 0.- Parameters:
port
- the port value to set.- Returns:
- the MongoDbLinkedService object itself.
-
getEnableSsl
Get the enableSsl property: Specifies whether the connections to the server are encrypted using SSL. The default value is false. Type: boolean (or Expression with resultType boolean).- Returns:
- the enableSsl value.
-
setEnableSsl
Set the enableSsl property: Specifies whether the connections to the server are encrypted using SSL. The default value is false. Type: boolean (or Expression with resultType boolean).- Parameters:
enableSsl
- the enableSsl value to set.- Returns:
- the MongoDbLinkedService object itself.
-
getAllowSelfSignedServerCert
Get the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server. The default value is false. Type: boolean (or Expression with resultType boolean).- Returns:
- the allowSelfSignedServerCert value.
-
setAllowSelfSignedServerCert
Set the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server. The default value is false. Type: boolean (or Expression with resultType boolean).- Parameters:
allowSelfSignedServerCert
- the allowSelfSignedServerCert value to set.- Returns:
- the MongoDbLinkedService object itself.
-
getEncryptedCredential
Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Returns:
- the encryptedCredential value.
-
setEncryptedCredential
Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Parameters:
encryptedCredential
- the encryptedCredential value to set.- Returns:
- the MongoDbLinkedService object itself.
-
setConnectVia
Set the connectVia property: The integration runtime reference.- Overrides:
setConnectVia
in classLinkedService
- Parameters:
connectVia
- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
setDescription
Set the description property: Linked service description.- Overrides:
setDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
setParameters
Set the parameters property: Parameters for linked service.- Overrides:
setParameters
in classLinkedService
- Parameters:
parameters
- the parameters value to set.- Returns:
- the LinkedService object itself.
-
setAnnotations
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
setAnnotations
in classLinkedService
- Parameters:
annotations
- the annotations value to set.- Returns:
- the LinkedService object itself.
-