Class CreateJavaMessageServiceConnectionDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.goldengate.model.CreateJavaMessageServiceConnectionDetails.Builder
 
- 
- Enclosing class:
- CreateJavaMessageServiceConnectionDetails
 
 public static class CreateJavaMessageServiceConnectionDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
displayNamepublic CreateJavaMessageServiceConnectionDetails.Builder displayName(String displayName) 
 - 
descriptionpublic CreateJavaMessageServiceConnectionDetails.Builder description(String description) 
 - 
compartmentIdpublic CreateJavaMessageServiceConnectionDetails.Builder compartmentId(String compartmentId) 
 - 
freeformTagspublic CreateJavaMessageServiceConnectionDetails.Builder freeformTags(Map<String,String> freeformTags) 
 - 
definedTagspublic CreateJavaMessageServiceConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) 
 - 
lockspublic CreateJavaMessageServiceConnectionDetails.Builder locks(List<AddResourceLockDetails> locks) 
 - 
vaultIdpublic CreateJavaMessageServiceConnectionDetails.Builder vaultId(String vaultId) 
 - 
keyIdpublic CreateJavaMessageServiceConnectionDetails.Builder keyId(String keyId) 
 - 
nsgIdspublic CreateJavaMessageServiceConnectionDetails.Builder nsgIds(List<String> nsgIds) 
 - 
subnetIdpublic CreateJavaMessageServiceConnectionDetails.Builder subnetId(String subnetId) 
 - 
routingMethodpublic CreateJavaMessageServiceConnectionDetails.Builder routingMethod(RoutingMethod routingMethod) 
 - 
doesUseSecretIdspublic CreateJavaMessageServiceConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds) 
 - 
subscriptionIdpublic CreateJavaMessageServiceConnectionDetails.Builder subscriptionId(String subscriptionId) 
 - 
clusterPlacementGroupIdpublic CreateJavaMessageServiceConnectionDetails.Builder clusterPlacementGroupId(String clusterPlacementGroupId) 
 - 
securityAttributespublic CreateJavaMessageServiceConnectionDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes) 
 - 
technologyTypepublic CreateJavaMessageServiceConnectionDetails.Builder technologyType(JavaMessageServiceConnection.TechnologyType technologyType) The Java Message Service technology type.- Parameters:
- technologyType- the value to set
- Returns:
- this builder
 
 - 
shouldUseJndipublic CreateJavaMessageServiceConnectionDetails.Builder shouldUseJndi(Boolean shouldUseJndi) If set to true, Java Naming and Directory Interface (JNDI) properties should be provided.- Parameters:
- shouldUseJndi- the value to set
- Returns:
- this builder
 
 - 
jndiConnectionFactorypublic CreateJavaMessageServiceConnectionDetails.Builder jndiConnectionFactory(String jndiConnectionFactory) The Connection Factory can be looked up using this name.e.g.: ‘ConnectionFactory’ - Parameters:
- jndiConnectionFactory- the value to set
- Returns:
- this builder
 
 - 
jndiProviderUrlpublic CreateJavaMessageServiceConnectionDetails.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’ - Parameters:
- jndiProviderUrl- the value to set
- Returns:
- this builder
 
 - 
jndiInitialContextFactorypublic CreateJavaMessageServiceConnectionDetails.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’ - Parameters:
- jndiInitialContextFactory- the value to set
- Returns:
- this builder
 
 - 
jndiSecurityPrincipalpublic CreateJavaMessageServiceConnectionDetails.Builder jndiSecurityPrincipal(String jndiSecurityPrincipal) Specifies the identity of the principal (user) to be authenticated.e.g.: ‘admin2’ - Parameters:
- jndiSecurityPrincipal- the value to set
- Returns:
- this builder
 
 - 
jndiSecurityCredentialspublic CreateJavaMessageServiceConnectionDetails.Builder jndiSecurityCredentials(String jndiSecurityCredentials) The password associated to the principal.Deprecated: This field is deprecated and replaced by “jndiSecurityCredentialsSecretId”. This field will be removed after February 15 2026. - Parameters:
- jndiSecurityCredentials- the value to set
- Returns:
- this builder
 
 - 
jndiSecurityCredentialsSecretIdpublic CreateJavaMessageServiceConnectionDetails.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. - Parameters:
- jndiSecurityCredentialsSecretId- the value to set
- Returns:
- this builder
 
 - 
connectionUrlpublic CreateJavaMessageServiceConnectionDetails.Builder connectionUrl(String connectionUrl) Connection URL of the Java Message Service, specifying the protocol, host, and port.e.g.: ‘mq://myjms.host.domain:7676’ - Parameters:
- connectionUrl- the value to set
- Returns:
- this builder
 
 - 
connectionFactorypublic CreateJavaMessageServiceConnectionDetails.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’ - Parameters:
- connectionFactory- the value to set
- Returns:
- this builder
 
 - 
usernamepublic CreateJavaMessageServiceConnectionDetails.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. - Parameters:
- username- the value to set
- Returns:
- this builder
 
 - 
passwordpublic CreateJavaMessageServiceConnectionDetails.Builder password(String password) The password Oracle GoldenGate uses to connect the associated Java Message Service.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
 
 - 
passwordSecretIdpublic CreateJavaMessageServiceConnectionDetails.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. - Parameters:
- passwordSecretId- the value to set
- Returns:
- this builder
 
 - 
securityProtocolpublic CreateJavaMessageServiceConnectionDetails.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. - Parameters:
- securityProtocol- the value to set
- Returns:
- this builder
 
 - 
authenticationTypepublic CreateJavaMessageServiceConnectionDetails.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. - Parameters:
- authenticationType- the value to set
- Returns:
- this builder
 
 - 
trustStorepublic CreateJavaMessageServiceConnectionDetails.Builder trustStore(String trustStore) The base64 encoded content of the TrustStore file.Deprecated: This field is deprecated and replaced by “trustStoreSecretId”. This field will be removed after February 15 2026. - Parameters:
- trustStore- the value to set
- Returns:
- this builder
 
 - 
trustStoreSecretIdpublic CreateJavaMessageServiceConnectionDetails.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. - Parameters:
- trustStoreSecretId- the value to set
- Returns:
- this builder
 
 - 
trustStorePasswordpublic CreateJavaMessageServiceConnectionDetails.Builder trustStorePassword(String trustStorePassword) The TrustStore password.Deprecated: This field is deprecated and replaced by “trustStorePasswordSecretId”. This field will be removed after February 15 2026. - Parameters:
- trustStorePassword- the value to set
- Returns:
- this builder
 
 - 
trustStorePasswordSecretIdpublic CreateJavaMessageServiceConnectionDetails.Builder trustStorePasswordSecretId(String trustStorePasswordSecretId) The OCID of the Secret where the TrustStore password is stored.Note: When provided, ‘trustStorePassword’ field must not be provided. - Parameters:
- trustStorePasswordSecretId- the value to set
- Returns:
- this builder
 
 - 
keyStorepublic CreateJavaMessageServiceConnectionDetails.Builder keyStore(String keyStore) The base64 encoded content of the KeyStore file.Deprecated: This field is deprecated and replaced by “keyStoreSecretId”. This field will be removed after February 15 2026. - Parameters:
- keyStore- the value to set
- Returns:
- this builder
 
 - 
keyStoreSecretIdpublic CreateJavaMessageServiceConnectionDetails.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. - Parameters:
- keyStoreSecretId- the value to set
- Returns:
- this builder
 
 - 
keyStorePasswordpublic CreateJavaMessageServiceConnectionDetails.Builder keyStorePassword(String keyStorePassword) The KeyStore password.Deprecated: This field is deprecated and replaced by “keyStorePasswordSecretId”. This field will be removed after February 15 2026. - Parameters:
- keyStorePassword- the value to set
- Returns:
- this builder
 
 - 
keyStorePasswordSecretIdpublic CreateJavaMessageServiceConnectionDetails.Builder keyStorePasswordSecretId(String keyStorePasswordSecretId) The OCID of the Secret where the KeyStore password is stored.Note: When provided, ‘keyStorePassword’ field must not be provided. - Parameters:
- keyStorePasswordSecretId- the value to set
- Returns:
- this builder
 
 - 
sslKeyPasswordpublic CreateJavaMessageServiceConnectionDetails.Builder sslKeyPassword(String sslKeyPassword) The password for the cert inside of the KeyStore.In case it differs from the KeyStore password, it should be provided. Deprecated: This field is deprecated and replaced by “sslKeyPasswordSecretId”. This field will be removed after February 15 2026. - Parameters:
- sslKeyPassword- the value to set
- Returns:
- this builder
 
 - 
sslKeyPasswordSecretIdpublic CreateJavaMessageServiceConnectionDetails.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. - Parameters:
- sslKeyPasswordSecretId- the value to set
- Returns:
- this builder
 
 - 
privateIppublic CreateJavaMessageServiceConnectionDetails.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
 
 - 
buildpublic CreateJavaMessageServiceConnectionDetails build() 
 - 
copypublic CreateJavaMessageServiceConnectionDetails.Builder copy(CreateJavaMessageServiceConnectionDetails model) 
 
- 
 
-