Class UpdateSparkUserPrincipalOciObjectStorageConfigDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.UpdateSparkUserPrincipalOciObjectStorageConfigDetails.Builder
-
- Enclosing class:
- UpdateSparkUserPrincipalOciObjectStorageConfigDetails
public static class UpdateSparkUserPrincipalOciObjectStorageConfigDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
region
public UpdateSparkUserPrincipalOciObjectStorageConfigDetails.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 UpdateSparkUserPrincipalOciObjectStorageConfigDetails.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 UpdateSparkUserPrincipalOciObjectStorageConfigDetails.Builder bucket(String bucket)
Bucket containing Spark application artifacts.Example: “spark-artifacts”
- Parameters:
bucket- the value to set- Returns:
- this builder
-
path
public UpdateSparkUserPrincipalOciObjectStorageConfigDetails.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 UpdateSparkUserPrincipalOciObjectStorageConfigDetails.Builder tenancyId(String tenancyId)
The OCID of the related OCI tenancy.- Parameters:
tenancyId- the value to set- Returns:
- this builder
-
userId
public UpdateSparkUserPrincipalOciObjectStorageConfigDetails.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
-
privateKeyFile
public UpdateSparkUserPrincipalOciObjectStorageConfigDetails.Builder privateKeyFile(char[] 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 Deprecated: This field is deprecated and replaced by “privateKeyFileSecretId”. This change follows the GoldenGate “Plain Text Fields in Connections” deprecation: https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
- Parameters:
privateKeyFile- the value to set- Returns:
- this builder
-
privateKeyFile
public UpdateSparkUserPrincipalOciObjectStorageConfigDetails.Builder privateKeyFile(String privateKeyFile)
-
privateKeyFileSecretId
public UpdateSparkUserPrincipalOciObjectStorageConfigDetails.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
-
privateKeyPassphrase
public UpdateSparkUserPrincipalOciObjectStorageConfigDetails.Builder privateKeyPassphrase(char[] privateKeyPassphrase)
The passphrase of the private key.Deprecated: This field is deprecated and replaced by “privateKeyPassphraseSecretId”. This change follows the GoldenGate “Plain Text Fields in Connections” deprecation: https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
- Parameters:
privateKeyPassphrase- the value to set- Returns:
- this builder
-
privateKeyPassphrase
public UpdateSparkUserPrincipalOciObjectStorageConfigDetails.Builder privateKeyPassphrase(String privateKeyPassphrase)
-
privateKeyPassphraseSecretId
public UpdateSparkUserPrincipalOciObjectStorageConfigDetails.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 UpdateSparkUserPrincipalOciObjectStorageConfigDetails.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 UpdateSparkUserPrincipalOciObjectStorageConfigDetails build()
-
-