Package com.oracle.bmc.goldengate.model
Class SparkSecretKeyOciObjectStorageConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.SparkSecretKeyOciObjectStorageConfig.Builder
-
- Enclosing class:
- SparkSecretKeyOciObjectStorageConfig
public static class SparkSecretKeyOciObjectStorageConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SparkSecretKeyOciObjectStorageConfig.BuilderaccessKeyId(String accessKeyId)Access key identifier used for OCI Object Storage secret-key authentication.SparkSecretKeyOciObjectStorageConfig.Builderbucket(String bucket)Bucket containing Spark application artifacts.SparkSecretKeyOciObjectStorageConfigbuild()SparkSecretKeyOciObjectStorageConfig.Buildercopy(SparkSecretKeyOciObjectStorageConfig model)SparkSecretKeyOciObjectStorageConfig.Buildernamespace(String namespace)The OCI Object Storage namespace containing the bucket.SparkSecretKeyOciObjectStorageConfig.Builderpath(String path)Object path used for Spark application artifacts.SparkSecretKeyOciObjectStorageConfig.Builderregion(String region)The name of the region.SparkSecretKeyOciObjectStorageConfig.BuildersecretAccessKeySecretId(String secretAccessKeySecretId)The OCID of the Secret that stores the secret access key.
-
-
-
Method Detail
-
region
public SparkSecretKeyOciObjectStorageConfig.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 SparkSecretKeyOciObjectStorageConfig.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 SparkSecretKeyOciObjectStorageConfig.Builder bucket(String bucket)
Bucket containing Spark application artifacts.Example: “spark-artifacts”
- Parameters:
bucket- the value to set- Returns:
- this builder
-
path
public SparkSecretKeyOciObjectStorageConfig.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
-
accessKeyId
public SparkSecretKeyOciObjectStorageConfig.Builder accessKeyId(String accessKeyId)
Access key identifier used for OCI Object Storage secret-key authentication.Note: Despite the “Id” suffix, this value is not an OCI OCID.
- Parameters:
accessKeyId- the value to set- Returns:
- this builder
-
secretAccessKeySecretId
public SparkSecretKeyOciObjectStorageConfig.Builder secretAccessKeySecretId(String secretAccessKeySecretId)
The OCID of the Secret that stores the secret access key.Note: When provided, secretAccessKey must not be provided.
- Parameters:
secretAccessKeySecretId- the value to set- Returns:
- this builder
-
build
public SparkSecretKeyOciObjectStorageConfig build()
-
copy
public SparkSecretKeyOciObjectStorageConfig.Builder copy(SparkSecretKeyOciObjectStorageConfig model)
-
-