Class CreateOciObjectStorageConnectionDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.goldengate.model.CreateOciObjectStorageConnectionDetails.Builder
 
- 
- Enclosing class:
- CreateOciObjectStorageConnectionDetails
 
 public static class CreateOciObjectStorageConnectionDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
displayNamepublic CreateOciObjectStorageConnectionDetails.Builder displayName(String displayName) 
 - 
descriptionpublic CreateOciObjectStorageConnectionDetails.Builder description(String description) 
 - 
compartmentIdpublic CreateOciObjectStorageConnectionDetails.Builder compartmentId(String compartmentId) 
 - 
freeformTagspublic CreateOciObjectStorageConnectionDetails.Builder freeformTags(Map<String,String> freeformTags) 
 - 
definedTagspublic CreateOciObjectStorageConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) 
 - 
lockspublic CreateOciObjectStorageConnectionDetails.Builder locks(List<AddResourceLockDetails> locks) 
 - 
vaultIdpublic CreateOciObjectStorageConnectionDetails.Builder vaultId(String vaultId) 
 - 
keyIdpublic CreateOciObjectStorageConnectionDetails.Builder keyId(String keyId) 
 - 
nsgIdspublic CreateOciObjectStorageConnectionDetails.Builder nsgIds(List<String> nsgIds) 
 - 
subnetIdpublic CreateOciObjectStorageConnectionDetails.Builder subnetId(String subnetId) 
 - 
routingMethodpublic CreateOciObjectStorageConnectionDetails.Builder routingMethod(RoutingMethod routingMethod) 
 - 
doesUseSecretIdspublic CreateOciObjectStorageConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds) 
 - 
subscriptionIdpublic CreateOciObjectStorageConnectionDetails.Builder subscriptionId(String subscriptionId) 
 - 
clusterPlacementGroupIdpublic CreateOciObjectStorageConnectionDetails.Builder clusterPlacementGroupId(String clusterPlacementGroupId) 
 - 
securityAttributespublic CreateOciObjectStorageConnectionDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes) 
 - 
technologyTypepublic CreateOciObjectStorageConnectionDetails.Builder technologyType(OciObjectStorageConnection.TechnologyType technologyType) The OCI Object Storage technology type.- Parameters:
- technologyType- the value to set
- Returns:
- this builder
 
 - 
tenancyIdpublic CreateOciObjectStorageConnectionDetails.Builder tenancyId(String tenancyId) The OCID of the related OCI tenancy.- Parameters:
- tenancyId- the value to set
- Returns:
- this builder
 
 - 
regionpublic 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
 
 - 
userIdpublic 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
 
 - 
privateKeyFilepublic 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
 
 - 
privateKeyFileSecretIdpublic 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
 
 - 
privateKeyPassphrasepublic 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
 
 - 
privateKeyPassphraseSecretIdpublic 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
 
 - 
publicKeyFingerprintpublic 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
 
 - 
shouldUseResourcePrincipalpublic CreateOciObjectStorageConnectionDetails.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
 
 - 
buildpublic CreateOciObjectStorageConnectionDetails build() 
 - 
copypublic CreateOciObjectStorageConnectionDetails.Builder copy(CreateOciObjectStorageConnectionDetails model) 
 
- 
 
-