Class SandboxHttpHeaderCredentialInjectionRule.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.SandboxHttpHeaderCredentialInjectionRule.Builder
-
- Enclosing class:
- SandboxHttpHeaderCredentialInjectionRule
public static class SandboxHttpHeaderCredentialInjectionRule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SandboxHttpHeaderCredentialInjectionRulebuild()SandboxHttpHeaderCredentialInjectionRule.Buildercopy(SandboxHttpHeaderCredentialInjectionRule model)SandboxHttpHeaderCredentialInjectionRule.Builderhost(String host)The normalized ASCII DNS hostname that selects the rule.SandboxHttpHeaderCredentialInjectionRule.BuilderinjectHeaders(List<SandboxCredentialInjectionHeader> injectHeaders)The single HTTP request header that the service replaces with the credential value.
-
-
-
Method Detail
-
host
public SandboxHttpHeaderCredentialInjectionRule.Builder host(String host)
The normalized ASCII DNS hostname that selects the rule.This value must be the exact regional Generative AI Responses endpoint hostname for the Project’s region and realm. Do not include a scheme, path, port, wildcard, trailing dot, or IP literal. Brokerage uses HTTPS on port 443.
- Parameters:
host- the value to set- Returns:
- this builder
-
injectHeaders
public SandboxHttpHeaderCredentialInjectionRule.Builder injectHeaders(List<SandboxCredentialInjectionHeader> injectHeaders)
The single HTTP request header that the service replaces with the credential value.- Parameters:
injectHeaders- the value to set- Returns:
- this builder
-
build
public SandboxHttpHeaderCredentialInjectionRule build()
-
copy
public SandboxHttpHeaderCredentialInjectionRule.Builder copy(SandboxHttpHeaderCredentialInjectionRule model)
-
-