public final class Db2LinkedServiceTypeProperties extends Object
| Constructor and Description |
|---|
Db2LinkedServiceTypeProperties() |
| 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.
|
Db2LinkedServiceTypeProperties |
withAuthenticationType(Db2AuthenticationType authenticationType)
Set the authenticationType property: AuthenticationType to be used for connection.
|
Db2LinkedServiceTypeProperties |
withCertificateCommonName(Object certificateCommonName)
Set the certificateCommonName property: Certificate Common Name when TLS is enabled.
|
Db2LinkedServiceTypeProperties |
withConnectionString(Object connectionString)
Set the connectionString property: The connection string.
|
Db2LinkedServiceTypeProperties |
withDatabase(Object database)
Set the database property: Database name for connection.
|
Db2LinkedServiceTypeProperties |
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.
|
Db2LinkedServiceTypeProperties |
withPackageCollection(Object packageCollection)
Set the packageCollection property: Under where packages are created when querying database.
|
Db2LinkedServiceTypeProperties |
withPassword(SecretBase password)
Set the password property: Password for authentication.
|
Db2LinkedServiceTypeProperties |
withServer(Object server)
Set the server property: Server name for connection.
|
Db2LinkedServiceTypeProperties |
withUsername(Object username)
Set the username property: Username for authentication.
|
public Object connectionString()
public Db2LinkedServiceTypeProperties withConnectionString(Object connectionString)
connectionString - the connectionString value to set.public Object server()
public Db2LinkedServiceTypeProperties withServer(Object server)
server - the server value to set.public Object database()
public Db2LinkedServiceTypeProperties withDatabase(Object database)
database - the database value to set.public Db2AuthenticationType authenticationType()
public Db2LinkedServiceTypeProperties withAuthenticationType(Db2AuthenticationType authenticationType)
authenticationType - the authenticationType value to set.public Object username()
public Db2LinkedServiceTypeProperties withUsername(Object username)
username - the username value to set.public SecretBase password()
public Db2LinkedServiceTypeProperties withPassword(SecretBase password)
password - the password value to set.public Object packageCollection()
public Db2LinkedServiceTypeProperties withPackageCollection(Object packageCollection)
packageCollection - the packageCollection value to set.public Object certificateCommonName()
public Db2LinkedServiceTypeProperties withCertificateCommonName(Object certificateCommonName)
certificateCommonName - the certificateCommonName value to set.public Object encryptedCredential()
public Db2LinkedServiceTypeProperties withEncryptedCredential(Object encryptedCredential)
encryptedCredential - the encryptedCredential value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.