Class MicrosoftSqlserverConnection.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.MicrosoftSqlserverConnection.Builder
-
- Enclosing class:
- MicrosoftSqlserverConnection
public static class MicrosoftSqlserverConnection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public MicrosoftSqlserverConnection.Builder id(String id)
-
displayName
public MicrosoftSqlserverConnection.Builder displayName(String displayName)
-
description
public MicrosoftSqlserverConnection.Builder description(String description)
-
compartmentId
public MicrosoftSqlserverConnection.Builder compartmentId(String compartmentId)
-
freeformTags
public MicrosoftSqlserverConnection.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public MicrosoftSqlserverConnection.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
systemTags
public MicrosoftSqlserverConnection.Builder systemTags(Map<String,Map<String,Object>> systemTags)
-
lifecycleState
public MicrosoftSqlserverConnection.Builder lifecycleState(Connection.LifecycleState lifecycleState)
-
lifecycleDetails
public MicrosoftSqlserverConnection.Builder lifecycleDetails(String lifecycleDetails)
-
timeCreated
public MicrosoftSqlserverConnection.Builder timeCreated(Date timeCreated)
-
timeUpdated
public MicrosoftSqlserverConnection.Builder timeUpdated(Date timeUpdated)
-
locks
public MicrosoftSqlserverConnection.Builder locks(List<ResourceLock> locks)
-
vaultId
public MicrosoftSqlserverConnection.Builder vaultId(String vaultId)
-
keyId
public MicrosoftSqlserverConnection.Builder keyId(String keyId)
-
ingressIps
public MicrosoftSqlserverConnection.Builder ingressIps(List<IngressIpDetails> ingressIps)
-
nsgIds
public MicrosoftSqlserverConnection.Builder nsgIds(List<String> nsgIds)
-
subnetId
public MicrosoftSqlserverConnection.Builder subnetId(String subnetId)
-
routingMethod
public MicrosoftSqlserverConnection.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public MicrosoftSqlserverConnection.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public MicrosoftSqlserverConnection.Builder technologyType(MicrosoftSqlserverConnection.TechnologyType technologyType)
The Microsoft SQL Server technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
username
public MicrosoftSqlserverConnection.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
-
host
public MicrosoftSqlserverConnection.Builder host(String host)
The name or address of a host.- Parameters:
host
- the value to set- Returns:
- this builder
-
port
public MicrosoftSqlserverConnection.Builder port(Integer port)
The port of an endpoint usually specified for a connection.- Parameters:
port
- the value to set- Returns:
- this builder
-
databaseName
public MicrosoftSqlserverConnection.Builder databaseName(String databaseName)
The name of the database.- Parameters:
databaseName
- the value to set- Returns:
- this builder
-
additionalAttributes
public MicrosoftSqlserverConnection.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 MicrosoftSqlserverConnection.Builder securityProtocol(MicrosoftSqlserverConnection.SecurityProtocol securityProtocol)
Security Protocol for Microsoft SQL Server.- Parameters:
securityProtocol
- the value to set- Returns:
- this builder
-
sslCa
public MicrosoftSqlserverConnection.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 MicrosoftSqlserverConnection.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 MicrosoftSqlserverConnection.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
-
passwordSecretId
public MicrosoftSqlserverConnection.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
-
build
public MicrosoftSqlserverConnection build()
-
copy
public MicrosoftSqlserverConnection.Builder copy(MicrosoftSqlserverConnection model)
-
-