Package com.oracle.bmc.goldengate.model
Class CreateGooglePubSubConnectionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.CreateGooglePubSubConnectionDetails.Builder
-
- Enclosing class:
- CreateGooglePubSubConnectionDetails
public static class CreateGooglePubSubConnectionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateGooglePubSubConnectionDetails.Builder displayName(String displayName)
-
description
public CreateGooglePubSubConnectionDetails.Builder description(String description)
-
compartmentId
public CreateGooglePubSubConnectionDetails.Builder compartmentId(String compartmentId)
-
freeformTags
public CreateGooglePubSubConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateGooglePubSubConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
locks
public CreateGooglePubSubConnectionDetails.Builder locks(List<AddResourceLockDetails> locks)
-
vaultId
public CreateGooglePubSubConnectionDetails.Builder vaultId(String vaultId)
-
keyId
public CreateGooglePubSubConnectionDetails.Builder keyId(String keyId)
-
nsgIds
public CreateGooglePubSubConnectionDetails.Builder nsgIds(List<String> nsgIds)
-
subnetId
public CreateGooglePubSubConnectionDetails.Builder subnetId(String subnetId)
-
routingMethod
public CreateGooglePubSubConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public CreateGooglePubSubConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public CreateGooglePubSubConnectionDetails.Builder technologyType(GooglePubSubConnection.TechnologyType technologyType)
The Google PubSub technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
serviceAccountKeyFile
public CreateGooglePubSubConnectionDetails.Builder serviceAccountKeyFile(String serviceAccountKeyFile)
The base64 encoded content of the service account key file containing the credentials required to use Google PubSub.Deprecated: This field is deprecated and replaced by “serviceAccountKeyFileSecretId”. This field will be removed after February 15 2026.
- Parameters:
serviceAccountKeyFile
- the value to set- Returns:
- this builder
-
serviceAccountKeyFileSecretId
public CreateGooglePubSubConnectionDetails.Builder serviceAccountKeyFileSecretId(String serviceAccountKeyFileSecretId)
The OCID of the Secret where the content of the service account key file is stored, which containing the credentials required to use Google PubSub.Note: When provided, ‘serviceAccountKeyFile’ field must not be provided.
- Parameters:
serviceAccountKeyFileSecretId
- the value to set- Returns:
- this builder
-
build
public CreateGooglePubSubConnectionDetails build()
-
copy
public CreateGooglePubSubConnectionDetails.Builder copy(CreateGooglePubSubConnectionDetails model)
-
-