Package com.oracle.bmc.goldengate.model
Class OracleAiDataPlatformConnection.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.OracleAiDataPlatformConnection.Builder
-
- Enclosing class:
- OracleAiDataPlatformConnection
public static class OracleAiDataPlatformConnection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public OracleAiDataPlatformConnection.Builder id(String id)
-
displayName
public OracleAiDataPlatformConnection.Builder displayName(String displayName)
-
description
public OracleAiDataPlatformConnection.Builder description(String description)
-
compartmentId
public OracleAiDataPlatformConnection.Builder compartmentId(String compartmentId)
-
freeformTags
public OracleAiDataPlatformConnection.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public OracleAiDataPlatformConnection.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
systemTags
public OracleAiDataPlatformConnection.Builder systemTags(Map<String,Map<String,Object>> systemTags)
-
lifecycleState
public OracleAiDataPlatformConnection.Builder lifecycleState(Connection.LifecycleState lifecycleState)
-
lifecycleDetails
public OracleAiDataPlatformConnection.Builder lifecycleDetails(String lifecycleDetails)
-
timeCreated
public OracleAiDataPlatformConnection.Builder timeCreated(Date timeCreated)
-
timeUpdated
public OracleAiDataPlatformConnection.Builder timeUpdated(Date timeUpdated)
-
locks
public OracleAiDataPlatformConnection.Builder locks(List<ResourceLock> locks)
-
vaultId
public OracleAiDataPlatformConnection.Builder vaultId(String vaultId)
-
keyId
public OracleAiDataPlatformConnection.Builder keyId(String keyId)
-
ingressIps
public OracleAiDataPlatformConnection.Builder ingressIps(List<IngressIpDetails> ingressIps)
-
nsgIds
public OracleAiDataPlatformConnection.Builder nsgIds(List<String> nsgIds)
-
subnetId
public OracleAiDataPlatformConnection.Builder subnetId(String subnetId)
-
routingMethod
public OracleAiDataPlatformConnection.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public OracleAiDataPlatformConnection.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
subscriptionId
public OracleAiDataPlatformConnection.Builder subscriptionId(String subscriptionId)
-
clusterPlacementGroupId
public OracleAiDataPlatformConnection.Builder clusterPlacementGroupId(String clusterPlacementGroupId)
-
securityAttributes
public OracleAiDataPlatformConnection.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
-
technologyType
public OracleAiDataPlatformConnection.Builder technologyType(OracleAiDataPlatformConnection.TechnologyType technologyType)
The Oracle AI Data Platform technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
connectionUrl
public OracleAiDataPlatformConnection.Builder connectionUrl(String connectionUrl)
Connection URL.It must start with ‘jdbc:spark://’
- Parameters:
connectionUrl
- the value to set- Returns:
- this builder
-
tenancyId
public OracleAiDataPlatformConnection.Builder tenancyId(String tenancyId)
The OCID of the related OCI tenancy.- Parameters:
tenancyId
- the value to set- Returns:
- this builder
-
region
public OracleAiDataPlatformConnection.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 OracleAiDataPlatformConnection.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 OracleAiDataPlatformConnection.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 OracleAiDataPlatformConnection.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 OracleAiDataPlatformConnection.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 OracleAiDataPlatformConnection.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 OracleAiDataPlatformConnection build()
-
copy
public OracleAiDataPlatformConnection.Builder copy(OracleAiDataPlatformConnection model)
-
-