Class SandboxCredentialProfile.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.SandboxCredentialProfile.Builder
-
- Enclosing class:
- SandboxCredentialProfile
public static class SandboxCredentialProfile.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SandboxCredentialProfilebuild()SandboxCredentialProfile.Buildercopy(SandboxCredentialProfile model)SandboxCredentialProfile.BuildercredentialInjectionRules(List<SandboxCredentialInjectionRule> credentialInjectionRules)One or more credential injection rules.SandboxCredentialProfile.Builderlabel(String label)Required, unique Project-local selector.
-
-
-
Method Detail
-
label
public SandboxCredentialProfile.Builder label(String label)
Required, unique Project-local selector.The value project-default is reserved by the service.
- Parameters:
label- the value to set- Returns:
- this builder
-
credentialInjectionRules
public SandboxCredentialProfile.Builder credentialInjectionRules(List<SandboxCredentialInjectionRule> credentialInjectionRules)
One or more credential injection rules.A rule authorizes credential injection only; it does not grant network reachability. Each selected request reads the referenced OCI Vault secret at the CURRENT stage; secret values are not cached or served stale. Protected requests support HTTP/1.1 and HTTP/2. CONNECT, extended CONNECT, Upgrade, WebSocket, plain HTTP, and non-HTTP credentials are not supported.
- Parameters:
credentialInjectionRules- the value to set- Returns:
- this builder
-
build
public SandboxCredentialProfile build()
-
copy
public SandboxCredentialProfile.Builder copy(SandboxCredentialProfile model)
-
-