Class CreateOciObjectStorageConnectionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.CreateOciObjectStorageConnectionDetails.Builder
-
- Enclosing class:
- CreateOciObjectStorageConnectionDetails
public static class CreateOciObjectStorageConnectionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateOciObjectStorageConnectionDetails.Builder displayName(String displayName)
-
description
public CreateOciObjectStorageConnectionDetails.Builder description(String description)
-
compartmentId
public CreateOciObjectStorageConnectionDetails.Builder compartmentId(String compartmentId)
-
freeformTags
public CreateOciObjectStorageConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateOciObjectStorageConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
locks
public CreateOciObjectStorageConnectionDetails.Builder locks(List<AddResourceLockDetails> locks)
-
vaultId
public CreateOciObjectStorageConnectionDetails.Builder vaultId(String vaultId)
-
keyId
public CreateOciObjectStorageConnectionDetails.Builder keyId(String keyId)
-
nsgIds
public CreateOciObjectStorageConnectionDetails.Builder nsgIds(List<String> nsgIds)
-
subnetId
public CreateOciObjectStorageConnectionDetails.Builder subnetId(String subnetId)
-
routingMethod
public CreateOciObjectStorageConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public CreateOciObjectStorageConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public CreateOciObjectStorageConnectionDetails.Builder technologyType(OciObjectStorageConnection.TechnologyType technologyType)
The OCI Object Storage technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
tenancyId
public CreateOciObjectStorageConnectionDetails.Builder tenancyId(String tenancyId)
The OCID of the related OCI tenancy.- Parameters:
tenancyId
- the value to set- Returns:
- this builder
-
region
public CreateOciObjectStorageConnectionDetails.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 CreateOciObjectStorageConnectionDetails.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
-
privateKeyFile
public CreateOciObjectStorageConnectionDetails.Builder privateKeyFile(String privateKeyFile)
The base64 encoded 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 Deprecated: This field is deprecated and replaced by “privateKeyFileSecretId”. This field will be removed after February 15 2026.
- Parameters:
privateKeyFile
- the value to set- Returns:
- this builder
-
privateKeyFileSecretId
public CreateOciObjectStorageConnectionDetails.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
-
privateKeyPassphrase
public CreateOciObjectStorageConnectionDetails.Builder privateKeyPassphrase(String privateKeyPassphrase)
The passphrase of the private key.Deprecated: This field is deprecated and replaced by “privateKeyPassphraseSecretId”. This field will be removed after February 15 2026.
- Parameters:
privateKeyPassphrase
- the value to set- Returns:
- this builder
-
privateKeyPassphraseSecretId
public CreateOciObjectStorageConnectionDetails.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 CreateOciObjectStorageConnectionDetails.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 CreateOciObjectStorageConnectionDetails.Builder shouldUseResourcePrincipal(Boolean shouldUseResourcePrincipal)
Indicates that the user intents to connect to the instance through resource principal.- Parameters:
shouldUseResourcePrincipal
- the value to set- Returns:
- this builder
-
build
public CreateOciObjectStorageConnectionDetails build()
-
copy
public CreateOciObjectStorageConnectionDetails.Builder copy(CreateOciObjectStorageConnectionDetails model)
-
-