Class UpdateOciObjectStorageConnectionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.UpdateOciObjectStorageConnectionDetails.Builder
-
- Enclosing class:
- UpdateOciObjectStorageConnectionDetails
public static class UpdateOciObjectStorageConnectionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public UpdateOciObjectStorageConnectionDetails.Builder displayName(String displayName)
-
description
public UpdateOciObjectStorageConnectionDetails.Builder description(String description)
-
freeformTags
public UpdateOciObjectStorageConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public UpdateOciObjectStorageConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
vaultId
public UpdateOciObjectStorageConnectionDetails.Builder vaultId(String vaultId)
-
keyId
public UpdateOciObjectStorageConnectionDetails.Builder keyId(String keyId)
-
nsgIds
public UpdateOciObjectStorageConnectionDetails.Builder nsgIds(List<String> nsgIds)
-
subnetId
public UpdateOciObjectStorageConnectionDetails.Builder subnetId(String subnetId)
-
routingMethod
public UpdateOciObjectStorageConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public UpdateOciObjectStorageConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
tenancyId
public UpdateOciObjectStorageConnectionDetails.Builder tenancyId(String tenancyId)
The OCID of the related OCI tenancy.- Parameters:
tenancyId
- the value to set- Returns:
- this builder
-
region
public UpdateOciObjectStorageConnectionDetails.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 UpdateOciObjectStorageConnectionDetails.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 UpdateOciObjectStorageConnectionDetails.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 UpdateOciObjectStorageConnectionDetails.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 UpdateOciObjectStorageConnectionDetails.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 UpdateOciObjectStorageConnectionDetails.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 UpdateOciObjectStorageConnectionDetails.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 UpdateOciObjectStorageConnectionDetails.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 UpdateOciObjectStorageConnectionDetails build()
-
copy
public UpdateOciObjectStorageConnectionDetails.Builder copy(UpdateOciObjectStorageConnectionDetails model)
-
-