public class MongoDbLinkedService extends LinkedService
| Constructor and Description |
|---|
MongoDbLinkedService() |
| Modifier and Type | Method and Description |
|---|---|
Object |
allowSelfSignedServerCert()
Get the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.
|
MongoDbAuthenticationType |
authenticationType()
Get the authenticationType property: The authentication type to be used to connect to the MongoDB database.
|
Object |
authSource()
Get the authSource property: Database to verify the username and password.
|
Object |
databaseName()
Get the databaseName property: The name of the MongoDB database that you want to access.
|
Object |
enableSsl()
Get the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.
|
Object |
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.
|
SecretBase |
password()
Get the password property: Password for authentication.
|
Object |
port()
Get the port property: The TCP port number that the MongoDB server uses to listen for client connections.
|
Object |
server()
Get the server property: The IP address or server name of the MongoDB server.
|
Object |
username()
Get the username property: Username for authentication.
|
void |
validate()
Validates the instance.
|
MongoDbLinkedService |
withAllowSelfSignedServerCert(Object allowSelfSignedServerCert)
Set the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.
|
MongoDbLinkedService |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.
|
MongoDbLinkedService |
withAuthenticationType(MongoDbAuthenticationType authenticationType)
Set the authenticationType property: The authentication type to be used to connect to the MongoDB database.
|
MongoDbLinkedService |
withAuthSource(Object authSource)
Set the authSource property: Database to verify the username and password.
|
MongoDbLinkedService |
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.
|
MongoDbLinkedService |
withDatabaseName(Object databaseName)
Set the databaseName property: The name of the MongoDB database that you want to access.
|
MongoDbLinkedService |
withDescription(String description)
Set the description property: Linked service description.
|
MongoDbLinkedService |
withEnableSsl(Object enableSsl)
Set the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.
|
MongoDbLinkedService |
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.
|
MongoDbLinkedService |
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.
|
MongoDbLinkedService |
withPassword(SecretBase password)
Set the password property: Password for authentication.
|
MongoDbLinkedService |
withPort(Object port)
Set the port property: The TCP port number that the MongoDB server uses to listen for client connections.
|
MongoDbLinkedService |
withServer(Object server)
Set the server property: The IP address or server name of the MongoDB server.
|
MongoDbLinkedService |
withUsername(Object username)
Set the username property: Username for authentication.
|
additionalProperties, annotations, connectVia, description, parameters, withAdditionalPropertiespublic Object server()
public MongoDbLinkedService withServer(Object server)
server - the server value to set.public MongoDbAuthenticationType authenticationType()
public MongoDbLinkedService withAuthenticationType(MongoDbAuthenticationType authenticationType)
authenticationType - the authenticationType value to set.public Object databaseName()
public MongoDbLinkedService withDatabaseName(Object databaseName)
databaseName - the databaseName value to set.public Object username()
public MongoDbLinkedService withUsername(Object username)
username - the username value to set.public SecretBase password()
public MongoDbLinkedService withPassword(SecretBase password)
password - the password value to set.public Object authSource()
public MongoDbLinkedService withAuthSource(Object authSource)
authSource - the authSource value to set.public Object port()
public MongoDbLinkedService withPort(Object port)
port - the port value to set.public Object enableSsl()
public MongoDbLinkedService withEnableSsl(Object enableSsl)
enableSsl - the enableSsl value to set.public Object allowSelfSignedServerCert()
public MongoDbLinkedService withAllowSelfSignedServerCert(Object allowSelfSignedServerCert)
allowSelfSignedServerCert - the allowSelfSignedServerCert value to set.public Object encryptedCredential()
public MongoDbLinkedService withEncryptedCredential(Object encryptedCredential)
encryptedCredential - the encryptedCredential value to set.public MongoDbLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
withConnectVia in class LinkedServiceconnectVia - the connectVia value to set.public MongoDbLinkedService withDescription(String description)
withDescription in class LinkedServicedescription - the description value to set.public MongoDbLinkedService withParameters(Map<String,ParameterSpecification> parameters)
withParameters in class LinkedServiceparameters - the parameters value to set.public MongoDbLinkedService withAnnotations(List<Object> annotations)
withAnnotations in class LinkedServiceannotations - the annotations value to set.public void validate()
validate in class LinkedServiceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.