Class SandboxCredentialInjectionHeader.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.SandboxCredentialInjectionHeader.Builder
-
- Enclosing class:
- SandboxCredentialInjectionHeader
public static class SandboxCredentialInjectionHeader.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SandboxCredentialInjectionHeaderbuild()SandboxCredentialInjectionHeader.Buildercopy(SandboxCredentialInjectionHeader model)SandboxCredentialInjectionHeader.Buildername(String name)The end-to-end HTTP request header to replace.SandboxCredentialInjectionHeader.Builderprefix(String prefix)Optional UTF-8 text prepended unchanged to the decoded Vault secret value.SandboxCredentialInjectionHeader.BuildervaultSecretId(String vaultSecretId)The OCID of the OCI Vault secret read at the CURRENT stage for every selected request.
-
-
-
Method Detail
-
name
public SandboxCredentialInjectionHeader.Builder name(String name)
The end-to-end HTTP request header to replace.Routing, connection-specific, forwarding, proxy authentication, and HTTP pseudo-header names are prohibited.
- Parameters:
name- the value to set- Returns:
- this builder
-
prefix
public SandboxCredentialInjectionHeader.Builder prefix(String prefix)
Optional UTF-8 text prepended unchanged to the decoded Vault secret value.Omitted and empty values both mean no prefix.
- Parameters:
prefix- the value to set- Returns:
- this builder
-
vaultSecretId
public SandboxCredentialInjectionHeader.Builder vaultSecretId(String vaultSecretId)
The OCID of the OCI Vault secret read at the CURRENT stage for every selected request.- Parameters:
vaultSecretId- the value to set- Returns:
- this builder
-
build
public SandboxCredentialInjectionHeader build()
-
copy
public SandboxCredentialInjectionHeader.Builder copy(SandboxCredentialInjectionHeader model)
-
-