public static class UpdateDatabricksConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateDatabricksConnectionDetails.Builder displayName(String displayName)
public UpdateDatabricksConnectionDetails.Builder description(String description)
public UpdateDatabricksConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
public UpdateDatabricksConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public UpdateDatabricksConnectionDetails.Builder vaultId(String vaultId)
public UpdateDatabricksConnectionDetails.Builder keyId(String keyId)
public UpdateDatabricksConnectionDetails.Builder nsgIds(List<String> nsgIds)
public UpdateDatabricksConnectionDetails.Builder subnetId(String subnetId)
public UpdateDatabricksConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
public UpdateDatabricksConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
public UpdateDatabricksConnectionDetails.Builder authenticationType(DatabricksConnection.AuthenticationType authenticationType)
Used authentication mechanism to access Databricks.
authenticationType
- the value to setpublic UpdateDatabricksConnectionDetails.Builder connectionUrl(String connectionUrl)
Connection URL. e.g.: ‘jdbc:databricks://adb-33934.4.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/3393########44/0##3-7-hlrb’
connectionUrl
- the value to setpublic UpdateDatabricksConnectionDetails.Builder password(String password)
The password used to connect to Databricks. Only applicable for authenticationType == PERSONAL_ACCESS_TOKEN. Deprecated: This field is deprecated and replaced by “passwordSecretId”. This field will be removed after February 15 2026.
password
- the value to setpublic UpdateDatabricksConnectionDetails.Builder passwordSecretId(String passwordSecretId)
The OCID of the Secret where the password is stored. Note: When provided, ‘password’ field must not be provided.
passwordSecretId
- the value to setpublic UpdateDatabricksConnectionDetails.Builder clientId(String clientId)
OAuth client id, only applicable for authenticationType == OAUTH_M2M
clientId
- the value to setpublic UpdateDatabricksConnectionDetails.Builder clientSecret(String clientSecret)
OAuth client secret, only applicable for authenticationType == OAUTH_M2M Deprecated: This field is deprecated and replaced by “clientSecretSecretId”. This field will be removed after February 15 2026.
clientSecret
- the value to setpublic UpdateDatabricksConnectionDetails.Builder clientSecretSecretId(String clientSecretSecretId)
The OCID of the Secret where the client secret is stored. Only applicable for authenticationType == OAUTH_M2M. Note: When provided, ‘clientSecret’ field must not be provided.
clientSecretSecretId
- the value to setpublic UpdateDatabricksConnectionDetails.Builder storageCredentialName(String storageCredentialName)
Optional. External storage credential name to access files on object storage such as ADLS Gen2, S3 or GCS.
storageCredentialName
- the value to setpublic UpdateDatabricksConnectionDetails build()
public UpdateDatabricksConnectionDetails.Builder copy(UpdateDatabricksConnectionDetails model)
Copyright © 2016–2025. All rights reserved.