public static class JavaMessageServiceConnection.Builder extends Object
Constructor and Description |
---|
Builder() |
public JavaMessageServiceConnection.Builder id(String id)
public JavaMessageServiceConnection.Builder displayName(String displayName)
public JavaMessageServiceConnection.Builder description(String description)
public JavaMessageServiceConnection.Builder compartmentId(String compartmentId)
public JavaMessageServiceConnection.Builder freeformTags(Map<String,String> freeformTags)
public JavaMessageServiceConnection.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public JavaMessageServiceConnection.Builder systemTags(Map<String,Map<String,Object>> systemTags)
public JavaMessageServiceConnection.Builder lifecycleState(Connection.LifecycleState lifecycleState)
public JavaMessageServiceConnection.Builder lifecycleDetails(String lifecycleDetails)
public JavaMessageServiceConnection.Builder timeCreated(Date timeCreated)
public JavaMessageServiceConnection.Builder timeUpdated(Date timeUpdated)
public JavaMessageServiceConnection.Builder locks(List<ResourceLock> locks)
public JavaMessageServiceConnection.Builder vaultId(String vaultId)
public JavaMessageServiceConnection.Builder keyId(String keyId)
public JavaMessageServiceConnection.Builder ingressIps(List<IngressIpDetails> ingressIps)
public JavaMessageServiceConnection.Builder nsgIds(List<String> nsgIds)
public JavaMessageServiceConnection.Builder subnetId(String subnetId)
public JavaMessageServiceConnection.Builder routingMethod(RoutingMethod routingMethod)
public JavaMessageServiceConnection.Builder doesUseSecretIds(Boolean doesUseSecretIds)
public JavaMessageServiceConnection.Builder technologyType(JavaMessageServiceConnection.TechnologyType technologyType)
The Java Message Service technology type.
technologyType
- the value to setpublic JavaMessageServiceConnection.Builder shouldUseJndi(Boolean shouldUseJndi)
If set to true, Java Naming and Directory Interface (JNDI) properties should be provided.
shouldUseJndi
- the value to setpublic JavaMessageServiceConnection.Builder jndiConnectionFactory(String jndiConnectionFactory)
The Connection Factory can be looked up using this name. e.g.: ‘ConnectionFactory’
jndiConnectionFactory
- the value to setpublic JavaMessageServiceConnection.Builder jndiProviderUrl(String jndiProviderUrl)
The URL that Java Message Service will use to contact the JNDI provider. e.g.: ‘tcp://myjms.host.domain:61616?jms.prefetchPolicy.all=1000’
jndiProviderUrl
- the value to setpublic JavaMessageServiceConnection.Builder jndiInitialContextFactory(String jndiInitialContextFactory)
The implementation of javax.naming.spi.InitialContextFactory interface that the client uses to obtain initial naming context. e.g.: ‘org.apache.activemq.jndi.ActiveMQInitialContextFactory’
jndiInitialContextFactory
- the value to setpublic JavaMessageServiceConnection.Builder jndiSecurityPrincipal(String jndiSecurityPrincipal)
Specifies the identity of the principal (user) to be authenticated. e.g.: ‘admin2’
jndiSecurityPrincipal
- the value to setpublic JavaMessageServiceConnection.Builder connectionUrl(String connectionUrl)
Connectin URL of the Java Message Service, specifying the protocol, host, and port. e.g.: ‘mq://myjms.host.domain:7676’
connectionUrl
- the value to setpublic JavaMessageServiceConnection.Builder connectionFactory(String connectionFactory)
The of Java class implementing javax.jms.ConnectionFactory interface supplied by the Java Message Service provider. e.g.: ‘com.stc.jmsjca.core.JConnectionFactoryXA’
connectionFactory
- the value to setpublic JavaMessageServiceConnection.Builder securityProtocol(JavaMessageServiceConnection.SecurityProtocol securityProtocol)
Security protocol for Java Message Service. If not provided, default is PLAIN. Optional until 2024-06-27, in the release after it will be made required.
securityProtocol
- the value to setpublic JavaMessageServiceConnection.Builder authenticationType(JavaMessageServiceConnection.AuthenticationType authenticationType)
Authentication type for Java Message Service. If not provided, default is NONE. Optional until 2024-06-27, in the release after it will be made required.
authenticationType
- the value to setpublic JavaMessageServiceConnection.Builder username(String username)
The username Oracle GoldenGate uses to connect to the Java Message Service. This username must already exist and be available by the Java Message Service to be connected to.
username
- the value to setpublic JavaMessageServiceConnection.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 JavaMessageServiceConnection.Builder jndiSecurityCredentialsSecretId(String jndiSecurityCredentialsSecretId)
The OCID of the Secret where the security credentials are stored associated to the principal. Note: When provided, ‘jndiSecurityCredentials’ field must not be provided.
jndiSecurityCredentialsSecretId
- the value to setpublic JavaMessageServiceConnection.Builder passwordSecretId(String passwordSecretId)
The OCID of the Secret where the password is stored, that Oracle GoldenGate uses to connect the associated Java Message Service. Note: When provided, ‘password’ field must not be provided.
passwordSecretId
- the value to setpublic JavaMessageServiceConnection.Builder trustStoreSecretId(String trustStoreSecretId)
The OCID of the Secret where the content of the TrustStore file is stored. Note: When provided, ‘trustStore’ field must not be provided.
trustStoreSecretId
- the value to setpublic JavaMessageServiceConnection.Builder trustStorePasswordSecretId(String trustStorePasswordSecretId)
The OCID of the Secret where the TrustStore password is stored. Note: When provided, ‘trustStorePassword’ field must not be provided.
trustStorePasswordSecretId
- the value to setpublic JavaMessageServiceConnection.Builder keyStoreSecretId(String keyStoreSecretId)
The OCID of the Secret where the content of the KeyStore file is stored. Note: When provided, ‘keyStore’ field must not be provided.
keyStoreSecretId
- the value to setpublic JavaMessageServiceConnection.Builder keyStorePasswordSecretId(String keyStorePasswordSecretId)
The OCID of the Secret where the KeyStore password is stored. Note: When provided, ‘keyStorePassword’ field must not be provided.
keyStorePasswordSecretId
- the value to setpublic JavaMessageServiceConnection.Builder sslKeyPasswordSecretId(String sslKeyPasswordSecretId)
The OCID of the Secret where the password is stored for the cert inside of the Keystore. In case it differs from the KeyStore password, it should be provided. Note: When provided, ‘sslKeyPassword’ field must not be provided.
sslKeyPasswordSecretId
- the value to setpublic JavaMessageServiceConnection build()
public JavaMessageServiceConnection.Builder copy(JavaMessageServiceConnection model)
Copyright © 2016–2024. All rights reserved.