Package com.oracle.bmc.goldengate.model
Class SparkUserPrincipalOciObjectStorageConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.SparkUserPrincipalOciObjectStorageConfig.Builder
-
- Enclosing class:
- SparkUserPrincipalOciObjectStorageConfig
public static class SparkUserPrincipalOciObjectStorageConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
region
public SparkUserPrincipalOciObjectStorageConfig.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 current region.
- Parameters:
region- the value to set- Returns:
- this builder
-
namespace
public SparkUserPrincipalOciObjectStorageConfig.Builder namespace(String namespace)
The OCI Object Storage namespace containing the bucket.Example: “mynamespace”
- Parameters:
namespace- the value to set- Returns:
- this builder
-
bucket
public SparkUserPrincipalOciObjectStorageConfig.Builder bucket(String bucket)
Bucket containing Spark application artifacts.Example: “spark-artifacts”
- Parameters:
bucket- the value to set- Returns:
- this builder
-
path
public SparkUserPrincipalOciObjectStorageConfig.Builder path(String path)
Object path used for Spark application artifacts.Example: “spark-apps/order-analysis/1.2.0”
- Parameters:
path- the value to set- Returns:
- this builder
-
tenancyId
public SparkUserPrincipalOciObjectStorageConfig.Builder tenancyId(String tenancyId)
The OCID of the related OCI tenancy.- Parameters:
tenancyId- the value to set- Returns:
- this builder
-
userId
public SparkUserPrincipalOciObjectStorageConfig.Builder userId(String userId)
The OCID of the OCI user whose API key is used to access the artifact location.If not provided it will default to the current user.
- Parameters:
userId- the value to set- Returns:
- this builder
-
privateKeyFileSecretId
public SparkUserPrincipalOciObjectStorageConfig.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 SparkUserPrincipalOciObjectStorageConfig.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
-
publicKeyFingerprint
public SparkUserPrincipalOciObjectStorageConfig.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
-
build
public SparkUserPrincipalOciObjectStorageConfig build()
-
copy
public SparkUserPrincipalOciObjectStorageConfig.Builder copy(SparkUserPrincipalOciObjectStorageConfig model)
-
-