Class UpdateMicrosoftSqlserverConnectionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.UpdateMicrosoftSqlserverConnectionDetails.Builder
-
- Enclosing class:
- UpdateMicrosoftSqlserverConnectionDetails
public static class UpdateMicrosoftSqlserverConnectionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public UpdateMicrosoftSqlserverConnectionDetails.Builder displayName(String displayName)
-
description
public UpdateMicrosoftSqlserverConnectionDetails.Builder description(String description)
-
freeformTags
public UpdateMicrosoftSqlserverConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public UpdateMicrosoftSqlserverConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
vaultId
public UpdateMicrosoftSqlserverConnectionDetails.Builder vaultId(String vaultId)
-
keyId
public UpdateMicrosoftSqlserverConnectionDetails.Builder keyId(String keyId)
-
nsgIds
public UpdateMicrosoftSqlserverConnectionDetails.Builder nsgIds(List<String> nsgIds)
-
subnetId
public UpdateMicrosoftSqlserverConnectionDetails.Builder subnetId(String subnetId)
-
routingMethod
public UpdateMicrosoftSqlserverConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public UpdateMicrosoftSqlserverConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
databaseName
public UpdateMicrosoftSqlserverConnectionDetails.Builder databaseName(String databaseName)
The name of the database.- Parameters:
databaseName
- the value to set- Returns:
- this builder
-
host
public UpdateMicrosoftSqlserverConnectionDetails.Builder host(String host)
The name or address of a host.- Parameters:
host
- the value to set- Returns:
- this builder
-
port
public UpdateMicrosoftSqlserverConnectionDetails.Builder port(Integer port)
The port of an endpoint usually specified for a connection.- Parameters:
port
- the value to set- Returns:
- this builder
-
username
public UpdateMicrosoftSqlserverConnectionDetails.Builder username(String username)
The username Oracle GoldenGate uses to connect to the Microsoft SQL Server.This username must already exist and be available by the Microsoft SQL Server to be connected to.
- Parameters:
username
- the value to set- Returns:
- this builder
-
password
public UpdateMicrosoftSqlserverConnectionDetails.Builder password(String password)
The password Oracle GoldenGate uses to connect the associated Microsoft SQL Server.Deprecated: This field is deprecated and replaced by “passwordSecretId”. This field will be removed after February 15 2026.
- Parameters:
password
- the value to set- Returns:
- this builder
-
passwordSecretId
public UpdateMicrosoftSqlserverConnectionDetails.Builder passwordSecretId(String passwordSecretId)
The OCID of the Secret that stores the password Oracle GoldenGate uses to connect the associated Microsoft SQL Server.Note: When provided, ‘password’ field must not be provided.
- Parameters:
passwordSecretId
- the value to set- Returns:
- this builder
-
additionalAttributes
public UpdateMicrosoftSqlserverConnectionDetails.Builder additionalAttributes(List<NameValuePair> additionalAttributes)
An array of name-value pair attribute entries.Used as additional parameters in connection string.
- Parameters:
additionalAttributes
- the value to set- Returns:
- this builder
-
securityProtocol
public UpdateMicrosoftSqlserverConnectionDetails.Builder securityProtocol(MicrosoftSqlserverConnection.SecurityProtocol securityProtocol)
Security Type for Microsoft SQL Server.- Parameters:
securityProtocol
- the value to set- Returns:
- this builder
-
sslCa
public UpdateMicrosoftSqlserverConnectionDetails.Builder sslCa(String sslCa)
Database Certificate - The base64 encoded content of a .pem or .crt file.containing the server public key (for 1-way SSL).
- Parameters:
sslCa
- the value to set- Returns:
- this builder
-
shouldValidateServerCertificate
public UpdateMicrosoftSqlserverConnectionDetails.Builder shouldValidateServerCertificate(Boolean shouldValidateServerCertificate)
If set to true, the driver validates the certificate that is sent by the database server.- Parameters:
shouldValidateServerCertificate
- the value to set- Returns:
- this builder
-
privateIp
public UpdateMicrosoftSqlserverConnectionDetails.Builder privateIp(String privateIp)
Deprecated: this field will be removed in future versions.Either specify the private IP in the connectionString or host field, or make sure the host name is resolvable in the target VCN.
The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection.
- Parameters:
privateIp
- the value to set- Returns:
- this builder
-
build
public UpdateMicrosoftSqlserverConnectionDetails build()
-
copy
public UpdateMicrosoftSqlserverConnectionDetails.Builder copy(UpdateMicrosoftSqlserverConnectionDetails model)
-
-