public static class CreateOciObjectStorageConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateOciObjectStorageConnectionDetails.Builder displayName(String displayName)
public CreateOciObjectStorageConnectionDetails.Builder description(String description)
public CreateOciObjectStorageConnectionDetails.Builder compartmentId(String compartmentId)
public CreateOciObjectStorageConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
public CreateOciObjectStorageConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreateOciObjectStorageConnectionDetails.Builder locks(List<AddResourceLockDetails> locks)
public CreateOciObjectStorageConnectionDetails.Builder vaultId(String vaultId)
public CreateOciObjectStorageConnectionDetails.Builder keyId(String keyId)
public CreateOciObjectStorageConnectionDetails.Builder nsgIds(List<String> nsgIds)
public CreateOciObjectStorageConnectionDetails.Builder subnetId(String subnetId)
public CreateOciObjectStorageConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
public CreateOciObjectStorageConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
public CreateOciObjectStorageConnectionDetails.Builder technologyType(OciObjectStorageConnection.TechnologyType technologyType)
The OCI Object Storage technology type.
technologyType
- the value to setpublic CreateOciObjectStorageConnectionDetails.Builder tenancyId(String tenancyId)
The OCID of the related OCI tenancy.
tenancyId
- the value to setpublic CreateOciObjectStorageConnectionDetails.Builder region(String region)
The name of the region. e.g.: us-ashburn-1
region
- the value to setpublic 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.
userId
- the value to setpublic 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
privateKeyFile
- the value to setpublic 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.
privateKeyFileSecretId
- the value to setpublic CreateOciObjectStorageConnectionDetails.Builder privateKeyPassphrase(String privateKeyPassphrase)
The passphrase of the private key.
privateKeyPassphrase
- the value to setpublic 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.
privateKeyPassphraseSecretId
- the value to setpublic 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
publicKeyFingerprint
- the value to setpublic CreateOciObjectStorageConnectionDetails build()
public CreateOciObjectStorageConnectionDetails.Builder copy(CreateOciObjectStorageConnectionDetails model)
Copyright © 2016–2024. All rights reserved.