public final class Db2LinkedService extends LinkedService
| Constructor and Description |
|---|
Db2LinkedService() |
| Modifier and Type | Method and Description |
|---|---|
Db2AuthenticationType |
authenticationType()
Get the authenticationType property: AuthenticationType to be used for connection.
|
Object |
certificateCommonName()
Get the certificateCommonName property: Certificate Common Name when TLS is enabled.
|
Object |
connectionString()
Get the connectionString property: The connection string.
|
Object |
database()
Get the database property: Database name for connection.
|
Object |
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.
|
Object |
packageCollection()
Get the packageCollection property: Under where packages are created when querying database.
|
SecretBase |
password()
Get the password property: Password for authentication.
|
Object |
server()
Get the server property: Server name for connection.
|
Object |
username()
Get the username property: Username for authentication.
|
void |
validate()
Validates the instance.
|
Db2LinkedService |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.
|
Db2LinkedService |
withAuthenticationType(Db2AuthenticationType authenticationType)
Set the authenticationType property: AuthenticationType to be used for connection.
|
Db2LinkedService |
withCertificateCommonName(Object certificateCommonName)
Set the certificateCommonName property: Certificate Common Name when TLS is enabled.
|
Db2LinkedService |
withConnectionString(Object connectionString)
Set the connectionString property: The connection string.
|
Db2LinkedService |
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.
|
Db2LinkedService |
withDatabase(Object database)
Set the database property: Database name for connection.
|
Db2LinkedService |
withDescription(String description)
Set the description property: Linked service description.
|
Db2LinkedService |
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.
|
Db2LinkedService |
withPackageCollection(Object packageCollection)
Set the packageCollection property: Under where packages are created when querying database.
|
Db2LinkedService |
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.
|
Db2LinkedService |
withPassword(SecretBase password)
Set the password property: Password for authentication.
|
Db2LinkedService |
withServer(Object server)
Set the server property: Server name for connection.
|
Db2LinkedService |
withUsername(Object username)
Set the username property: Username for authentication.
|
additionalProperties, annotations, connectVia, description, parameters, withAdditionalPropertiespublic Db2LinkedService withConnectVia(IntegrationRuntimeReference connectVia)
withConnectVia in class LinkedServiceconnectVia - the connectVia value to set.public Db2LinkedService withDescription(String description)
withDescription in class LinkedServicedescription - the description value to set.public Db2LinkedService withParameters(Map<String,ParameterSpecification> parameters)
withParameters in class LinkedServiceparameters - the parameters value to set.public Db2LinkedService withAnnotations(List<Object> annotations)
withAnnotations in class LinkedServiceannotations - the annotations value to set.public Object connectionString()
public Db2LinkedService withConnectionString(Object connectionString)
connectionString - the connectionString value to set.public Object server()
public Db2LinkedService withServer(Object server)
server - the server value to set.public Object database()
public Db2LinkedService withDatabase(Object database)
database - the database value to set.public Db2AuthenticationType authenticationType()
public Db2LinkedService withAuthenticationType(Db2AuthenticationType authenticationType)
authenticationType - the authenticationType value to set.public Object username()
public Db2LinkedService withUsername(Object username)
username - the username value to set.public SecretBase password()
public Db2LinkedService withPassword(SecretBase password)
password - the password value to set.public Object packageCollection()
public Db2LinkedService withPackageCollection(Object packageCollection)
packageCollection - the packageCollection value to set.public Object certificateCommonName()
public Db2LinkedService withCertificateCommonName(Object certificateCommonName)
certificateCommonName - the certificateCommonName value to set.public Object encryptedCredential()
public Db2LinkedService withEncryptedCredential(Object encryptedCredential)
encryptedCredential - the encryptedCredential value to set.public void validate()
validate in class LinkedServiceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.