Package com.oracle.bmc.goldengate.model
Class UpdateOracleAiDataPlatformConnectionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.UpdateOracleAiDataPlatformConnectionDetails.Builder
-
- Enclosing class:
- UpdateOracleAiDataPlatformConnectionDetails
public static class UpdateOracleAiDataPlatformConnectionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public UpdateOracleAiDataPlatformConnectionDetails.Builder displayName(String displayName)
-
description
public UpdateOracleAiDataPlatformConnectionDetails.Builder description(String description)
-
freeformTags
public UpdateOracleAiDataPlatformConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public UpdateOracleAiDataPlatformConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
vaultId
public UpdateOracleAiDataPlatformConnectionDetails.Builder vaultId(String vaultId)
-
keyId
public UpdateOracleAiDataPlatformConnectionDetails.Builder keyId(String keyId)
-
nsgIds
public UpdateOracleAiDataPlatformConnectionDetails.Builder nsgIds(List<String> nsgIds)
-
subnetId
public UpdateOracleAiDataPlatformConnectionDetails.Builder subnetId(String subnetId)
-
routingMethod
public UpdateOracleAiDataPlatformConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public UpdateOracleAiDataPlatformConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
securityAttributes
public UpdateOracleAiDataPlatformConnectionDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
-
connectionUrl
public UpdateOracleAiDataPlatformConnectionDetails.Builder connectionUrl(String connectionUrl)
Connection URL.It must start with ‘jdbc:spark://’
- Parameters:
connectionUrl
- the value to set- Returns:
- this builder
-
tenancyId
public UpdateOracleAiDataPlatformConnectionDetails.Builder tenancyId(String tenancyId)
The OCID of the related OCI tenancy.- Parameters:
tenancyId
- the value to set- Returns:
- this builder
-
region
public UpdateOracleAiDataPlatformConnectionDetails.Builder region(String region)
The name of the region.e.g.: us-ashburn-1 If the region is not provided, backend will default to the default region.
- Parameters:
region
- the value to set- Returns:
- this builder
-
userId
public UpdateOracleAiDataPlatformConnectionDetails.Builder userId(String userId)
The OCID of the OCI user who will access the Object Storage.The user must have write access to the bucket they want to connect to. If the user is not provided, backend will default to the user who is calling the API endpoint.
- Parameters:
userId
- the value to set- Returns:
- this builder
-
privateKeyFileSecretId
public UpdateOracleAiDataPlatformConnectionDetails.Builder privateKeyFileSecretId(String privateKeyFileSecretId)
The OCID of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint.See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Note: When provided, ‘privateKeyFile’ field must not be provided.
- Parameters:
privateKeyFileSecretId
- the value to set- Returns:
- this builder
-
privateKeyPassphraseSecretId
public UpdateOracleAiDataPlatformConnectionDetails.Builder privateKeyPassphraseSecretId(String privateKeyPassphraseSecretId)
The OCID of the Secret that stores the passphrase of the private key.Note: When provided, ‘privateKeyPassphrase’ field must not be provided.
- Parameters:
privateKeyPassphraseSecretId
- the value to set- Returns:
- this builder
-
publicKeyFingerprint
public UpdateOracleAiDataPlatformConnectionDetails.Builder publicKeyFingerprint(String publicKeyFingerprint)
The fingerprint of the API Key of the user specified by the userId.See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm
- Parameters:
publicKeyFingerprint
- the value to set- Returns:
- this builder
-
shouldUseResourcePrincipal
public UpdateOracleAiDataPlatformConnectionDetails.Builder shouldUseResourcePrincipal(Boolean shouldUseResourcePrincipal)
Specifies that the user intends to authenticate to the instance using a resource principal.Default: false
- Parameters:
shouldUseResourcePrincipal
- the value to set- Returns:
- this builder
-
build
public UpdateOracleAiDataPlatformConnectionDetails build()
-
copy
public UpdateOracleAiDataPlatformConnectionDetails.Builder copy(UpdateOracleAiDataPlatformConnectionDetails model)
-
-