Package com.oracle.bmc.goldengate.model
Class OciObjectStorageConnection.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.OciObjectStorageConnection.Builder
-
- Enclosing class:
- OciObjectStorageConnection
public static class OciObjectStorageConnection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public OciObjectStorageConnection.Builder id(String id)
-
displayName
public OciObjectStorageConnection.Builder displayName(String displayName)
-
description
public OciObjectStorageConnection.Builder description(String description)
-
compartmentId
public OciObjectStorageConnection.Builder compartmentId(String compartmentId)
-
freeformTags
public OciObjectStorageConnection.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public OciObjectStorageConnection.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
systemTags
public OciObjectStorageConnection.Builder systemTags(Map<String,Map<String,Object>> systemTags)
-
lifecycleState
public OciObjectStorageConnection.Builder lifecycleState(Connection.LifecycleState lifecycleState)
-
lifecycleDetails
public OciObjectStorageConnection.Builder lifecycleDetails(String lifecycleDetails)
-
timeCreated
public OciObjectStorageConnection.Builder timeCreated(Date timeCreated)
-
timeUpdated
public OciObjectStorageConnection.Builder timeUpdated(Date timeUpdated)
-
locks
public OciObjectStorageConnection.Builder locks(List<ResourceLock> locks)
-
vaultId
public OciObjectStorageConnection.Builder vaultId(String vaultId)
-
keyId
public OciObjectStorageConnection.Builder keyId(String keyId)
-
ingressIps
public OciObjectStorageConnection.Builder ingressIps(List<IngressIpDetails> ingressIps)
-
nsgIds
public OciObjectStorageConnection.Builder nsgIds(List<String> nsgIds)
-
subnetId
public OciObjectStorageConnection.Builder subnetId(String subnetId)
-
routingMethod
public OciObjectStorageConnection.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public OciObjectStorageConnection.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public OciObjectStorageConnection.Builder technologyType(OciObjectStorageConnection.TechnologyType technologyType)
The OCI Object Storage technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
tenancyId
public OciObjectStorageConnection.Builder tenancyId(String tenancyId)
The OCID of the related OCI tenancy.- Parameters:
tenancyId
- the value to set- Returns:
- this builder
-
region
public OciObjectStorageConnection.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 OciObjectStorageConnection.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
-
privateKeyFileSecretId
public OciObjectStorageConnection.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
-
privateKeyPassphraseSecretId
public OciObjectStorageConnection.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
-
shouldUseResourcePrincipal
public OciObjectStorageConnection.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 OciObjectStorageConnection build()
-
copy
public OciObjectStorageConnection.Builder copy(OciObjectStorageConnection model)
-
-