public static class UpdateOciObjectStorageConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateOciObjectStorageConnectionDetails.Builder displayName(String displayName)
public UpdateOciObjectStorageConnectionDetails.Builder description(String description)
public UpdateOciObjectStorageConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
public UpdateOciObjectStorageConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public UpdateOciObjectStorageConnectionDetails.Builder vaultId(String vaultId)
public UpdateOciObjectStorageConnectionDetails.Builder keyId(String keyId)
public UpdateOciObjectStorageConnectionDetails.Builder nsgIds(List<String> nsgIds)
public UpdateOciObjectStorageConnectionDetails.Builder subnetId(String subnetId)
public UpdateOciObjectStorageConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
public UpdateOciObjectStorageConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
public UpdateOciObjectStorageConnectionDetails.Builder tenancyId(String tenancyId)
The OCID of the related OCI tenancy.
tenancyId
- the value to setpublic 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.
region
- the value to setpublic 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.
userId
- the value to setpublic 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.
privateKeyFile
- the value to setpublic 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.
privateKeyFileSecretId
- the value to setpublic 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.
privateKeyPassphrase
- the value to setpublic 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.
privateKeyPassphraseSecretId
- the value to setpublic 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
publicKeyFingerprint
- the value to setpublic UpdateOciObjectStorageConnectionDetails.Builder shouldUseResourcePrincipal(Boolean shouldUseResourcePrincipal)
Indicates that the user intents to connect to the instance through resource principal.
shouldUseResourcePrincipal
- the value to setpublic UpdateOciObjectStorageConnectionDetails build()
public UpdateOciObjectStorageConnectionDetails.Builder copy(UpdateOciObjectStorageConnectionDetails model)
Copyright © 2016–2025. All rights reserved.