public static class MicrosoftSqlserverConnection.Builder extends Object
Constructor and Description |
---|
Builder() |
public MicrosoftSqlserverConnection.Builder id(String id)
public MicrosoftSqlserverConnection.Builder displayName(String displayName)
public MicrosoftSqlserverConnection.Builder description(String description)
public MicrosoftSqlserverConnection.Builder compartmentId(String compartmentId)
public MicrosoftSqlserverConnection.Builder freeformTags(Map<String,String> freeformTags)
public MicrosoftSqlserverConnection.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public MicrosoftSqlserverConnection.Builder systemTags(Map<String,Map<String,Object>> systemTags)
public MicrosoftSqlserverConnection.Builder lifecycleState(Connection.LifecycleState lifecycleState)
public MicrosoftSqlserverConnection.Builder lifecycleDetails(String lifecycleDetails)
public MicrosoftSqlserverConnection.Builder timeCreated(Date timeCreated)
public MicrosoftSqlserverConnection.Builder timeUpdated(Date timeUpdated)
public MicrosoftSqlserverConnection.Builder locks(List<ResourceLock> locks)
public MicrosoftSqlserverConnection.Builder vaultId(String vaultId)
public MicrosoftSqlserverConnection.Builder keyId(String keyId)
public MicrosoftSqlserverConnection.Builder ingressIps(List<IngressIpDetails> ingressIps)
public MicrosoftSqlserverConnection.Builder nsgIds(List<String> nsgIds)
public MicrosoftSqlserverConnection.Builder subnetId(String subnetId)
public MicrosoftSqlserverConnection.Builder routingMethod(RoutingMethod routingMethod)
public MicrosoftSqlserverConnection.Builder doesUseSecretIds(Boolean doesUseSecretIds)
public MicrosoftSqlserverConnection.Builder technologyType(MicrosoftSqlserverConnection.TechnologyType technologyType)
The Microsoft SQL Server technology type.
technologyType
- the value to setpublic 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.
username
- the value to setpublic MicrosoftSqlserverConnection.Builder host(String host)
The name or address of a host.
host
- the value to setpublic MicrosoftSqlserverConnection.Builder port(Integer port)
The port of an endpoint usually specified for a connection.
port
- the value to setpublic MicrosoftSqlserverConnection.Builder databaseName(String databaseName)
The name of the database.
databaseName
- the value to setpublic MicrosoftSqlserverConnection.Builder additionalAttributes(List<NameValuePair> additionalAttributes)
An array of name-value pair attribute entries. Used as additional parameters in connection string.
additionalAttributes
- the value to setpublic MicrosoftSqlserverConnection.Builder securityProtocol(MicrosoftSqlserverConnection.SecurityProtocol securityProtocol)
Security Protocol for Microsoft SQL Server.
securityProtocol
- the value to setpublic 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).
sslCa
- the value to setpublic MicrosoftSqlserverConnection.Builder shouldValidateServerCertificate(Boolean shouldValidateServerCertificate)
If set to true, the driver validates the certificate that is sent by the database server.
shouldValidateServerCertificate
- the value to setpublic 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.
privateIp
- the value to setpublic 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.
passwordSecretId
- the value to setpublic MicrosoftSqlserverConnection build()
public MicrosoftSqlserverConnection.Builder copy(MicrosoftSqlserverConnection model)
Copyright © 2016–2024. All rights reserved.